1 | #!/bin/sh |
---|---|
2 | # |
3 | # TestRunner.sh - Backward compatible utility for testing an individual file. |
4 | |
5 | # Find where this script is. |
6 | Dir=$(dirname $(which $0)) |
7 | AbsDir=$(cd $Dir; pwd) |
8 | |
9 | # Find 'lit', assuming standard layout. |
10 | lit=$AbsDir/../../../utils/lit/lit.py |
11 | |
12 | # Dispatch to lit. |
13 | $lit "$@" |
14 |