[llvm-commits] [compiler-rt] r164997 - /compiler-rt/trunk/lib/tsan/lit_tests/test_output.sh
Dmitry Vyukov
dvyukov at google.com
Tue Oct 2 04:51:40 PDT 2012
Author: dvyukov
Date: Tue Oct 2 06:51:40 2012
New Revision: 164997
URL: http://llvm.org/viewvc/llvm-project?rev=164997&view=rev
Log:
tsan: run output tests in parallel
Modified:
compiler-rt/trunk/lib/tsan/lit_tests/test_output.sh
Modified: compiler-rt/trunk/lib/tsan/lit_tests/test_output.sh
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/tsan/lit_tests/test_output.sh?rev=164997&r1=164996&r2=164997&view=diff
==============================================================================
--- compiler-rt/trunk/lib/tsan/lit_tests/test_output.sh (original)
+++ compiler-rt/trunk/lib/tsan/lit_tests/test_output.sh Tue Oct 2 06:51:40 2012
@@ -41,9 +41,11 @@
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
More information about the llvm-commits
mailing list