diff options
author | Dmitry Vyukov <dvyukov@google.com> | 2012-10-02 11:51:40 +0000 |
---|---|---|
committer | Dmitry Vyukov <dvyukov@google.com> | 2012-10-02 11:51:40 +0000 |
commit | 0c40a5600c13b4f3bf18cf829457e90db1137beb (patch) | |
tree | c381230460f6ea63f1b009c3984056a50d4173ce | |
parent | 77639e2c7215de62b95dc6bf6660f8732ecbeaf1 (diff) | |
download | bcm5719-llvm-0c40a5600c13b4f3bf18cf829457e90db1137beb.tar.gz bcm5719-llvm-0c40a5600c13b4f3bf18cf829457e90db1137beb.zip |
tsan: run output tests in parallel
llvm-svn: 164997
-rwxr-xr-x | compiler-rt/lib/tsan/lit_tests/test_output.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/compiler-rt/lib/tsan/lit_tests/test_output.sh b/compiler-rt/lib/tsan/lit_tests/test_output.sh index e4c2a4c4177..bd8573e41ea 100755 --- a/compiler-rt/lib/tsan/lit_tests/test_output.sh +++ b/compiler-rt/lib/tsan/lit_tests/test_output.sh @@ -41,9 +41,11 @@ if [ "$1" == "" ]; then case $c in *.c) COMPILER=$CC esac - test_file $c $COMPILER + test_file $c $COMPILER & + done + for job in `jobs -p`; do + wait $job || exit 1 done - wait else test_file $ROOTDIR/lit_tests/$1 $CXX "DUMP" fi |