aboutsummaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
authorDiana Picus <diana.picus@linaro.org>2018-01-26 07:06:20 +0100
committerDiana Picus <diana.picus@linaro.org>2018-01-31 14:46:30 +0000
commitf73abbf2bd0b4b86f815738e35a5e1eab7802272 (patch)
treed9b1b5f70c6abd9f886576d54942c47d63c68faa /helpers
parentb368cb6384312a8dd26172202d6e33bea6b472b9 (diff)
Support setting up the test-suite
Add a subcommand 'setup-test-suite' which sets up a sandbox that can be used for running the test-suite. Change-Id: If6426acd0e4e8ed54d310d1159a545f762affe74
Diffstat (limited to 'helpers')
-rwxr-xr-xhelpers/llvm-test-suite4
1 files changed, 1 insertions, 3 deletions
diff --git a/helpers/llvm-test-suite b/helpers/llvm-test-suite
index 283e52f..0374749 100755
--- a/helpers/llvm-test-suite
+++ b/helpers/llvm-test-suite
@@ -19,9 +19,7 @@ lnt=$LLVM_ROOT/repos/lnt
lit=$LLVM_BLD/bin/llvm-lit
clang=$LLVM_BLD/bin/clang
-# TODO: There should be a llvm.py subcommand for setting up the sandbox
-safe_run virtualenv $sandbox
-safe_run $sandbox/bin/python $lnt/setup.py develop
+safe_run python3 $llvmtool setup-test-suite --sandbox $sandbox --lnt $lnt
safe_run python3 $llvmtool run-test-suite --sandbox $sandbox \
--test-suite $testsuite --use-lit $lit --cc $clang --cxx $clang++ "$@"