blob: 98431748770512fa959eac368d778537d52cef56 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/usr/bin/env bash
# Helper script for running a single LIT test inside the build tree.
. llvm-common
safe_run verify_env
if [[ $1 = '' ]]; then
echo "Syntax: $0 test-dir"
exit -1
fi
DIR=$1
$LLVM_SRC/utils/lit/lit.py \
--param build_mode=. \
-sv \
--param llvm_site_config=$LLVM_BLD/test/lit.site.cfg \
--param llvm_unit_site_config=$LLVM_BLD/test/Unit/lit.site.cfg \
$DIR
|