summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2012-10-02 11:51:40 +0000
committerDmitry Vyukov <dvyukov@google.com>2012-10-02 11:51:40 +0000
commit0c40a5600c13b4f3bf18cf829457e90db1137beb (patch)
treec381230460f6ea63f1b009c3984056a50d4173ce
parent77639e2c7215de62b95dc6bf6660f8732ecbeaf1 (diff)
downloadbcm5719-llvm-0c40a5600c13b4f3bf18cf829457e90db1137beb.tar.gz
bcm5719-llvm-0c40a5600c13b4f3bf18cf829457e90db1137beb.zip
tsan: run output tests in parallel
llvm-svn: 164997
-rwxr-xr-xcompiler-rt/lib/tsan/lit_tests/test_output.sh6
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
OpenPOWER on IntegriCloud