]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/TestRunner.sh
Vendor import of clang 3.9.0 release r280324:
[FreeBSD/FreeBSD.git] / test / TestRunner.sh
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 "$@"