summaryrefslogtreecommitdiff
path: root/clang/test/TestRunner.sh
blob: f96d3d552d2ee63019d6e9052152e3a88896f748 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
#
# TestRunner.sh - Backward compatible utility for testing an individual file.

# Find where this script is.
Dir=$(dirname $(which $0))
AbsDir=$(cd $Dir; pwd)

# Find 'lit', assuming standard layout.
lit=$AbsDir/../../../utils/lit/lit.py

# Dispatch to lit.
$lit "$@"