Renato Golin | 94cc104 | 2016-04-26 11:02:23 +0100 | [diff] [blame^] | 1 | #!/usr/bin/env bash |
2 | |||||
3 | # Helper script for running a single LIT test inside the build tree. | ||||
4 | |||||
5 | if [[ $1 = '' ]]; then | ||||
6 | echo "Syntax: $0 test-dir" | ||||
7 | exit -1 | ||||
8 | fi | ||||
9 | DIR=$1 | ||||
10 | |||||
11 | $LLVM_SRC/utils/lit/lit.py \ | ||||
12 | --param build_mode=. \ | ||||
13 | -sv \ | ||||
14 | --param llvm_site_config=$LLVM_BLD/test/lit.site.cfg \ | ||||
15 | --param llvm_unit_site_config=$LLVM_BLD/test/Unit/lit.site.cfg \ | ||||
16 | $DIR |