diff options
author | Alexey Samsonov <vonosmas@gmail.com> | 2014-06-09 22:02:14 +0000 |
---|---|---|
committer | Alexey Samsonov <vonosmas@gmail.com> | 2014-06-09 22:02:14 +0000 |
commit | f0d1fd6b32f4781f53286c165c8e9578ec40144c (patch) | |
tree | 33e62811b804dac80d448f4fe4a2697717f71b15 | |
parent | 6b5a7dfc24f82f5702cf96acb6d056954897e8ff (diff) | |
download | bcm5719-llvm-f0d1fd6b32f4781f53286c165c8e9578ec40144c.tar.gz bcm5719-llvm-f0d1fd6b32f4781f53286c165c8e9578ec40144c.zip |
[TSan] Exclude blacklist tests from manual test runner
llvm-svn: 210494
-rwxr-xr-x | compiler-rt/test/tsan/test_output.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/compiler-rt/test/tsan/test_output.sh b/compiler-rt/test/tsan/test_output.sh index c22258fa172..8b286f413bd 100755 --- a/compiler-rt/test/tsan/test_output.sh +++ b/compiler-rt/test/tsan/test_output.sh @@ -5,7 +5,6 @@ set -e # fail on any error HERE=$(dirname $0) TSAN_DIR=$(dirname $0)/../../lib/tsan -BLACKLIST=$HERE/Helpers/blacklist.txt # Assume clang and clang++ are in path. : ${CC:=clang} @@ -13,7 +12,7 @@ BLACKLIST=$HERE/Helpers/blacklist.txt : ${FILECHECK:=FileCheck} # TODO: add testing for all of -O0...-O3 -CFLAGS="-fsanitize=thread -fsanitize-blacklist=$BLACKLIST -fPIE -O1 -g -Wall" +CFLAGS="-fsanitize=thread -fPIE -O1 -g -Wall" LDFLAGS="-pie -pthread -ldl -lrt -lm -Wl,--whole-archive $TSAN_DIR/rtl/libtsan.a -Wl,--no-whole-archive" test_file() { @@ -41,6 +40,10 @@ if [ "$1" == "" ]; then echo TEST $c is not supported continue fi + if [[ $c == */*blacklist*.cc ]]; then + echo TEST $c is not supported + continue + fi if [ "`grep "TSAN_OPTIONS" $c`" ]; then echo SKIPPING $c -- requires TSAN_OPTIONS continue |