[compiler-rt] r210494 - [TSan] Exclude blacklist tests from manual test runner

Alexey Samsonov vonosmas at gmail.com
Mon Jun 9 15:02:14 PDT 2014


Author: samsonov
Date: Mon Jun  9 17:02:14 2014
New Revision: 210494

URL: http://llvm.org/viewvc/llvm-project?rev=210494&view=rev
Log:
[TSan] Exclude blacklist tests from manual test runner

Modified:
    compiler-rt/trunk/test/tsan/test_output.sh

Modified: compiler-rt/trunk/test/tsan/test_output.sh
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/test_output.sh?rev=210494&r1=210493&r2=210494&view=diff
==============================================================================
--- compiler-rt/trunk/test/tsan/test_output.sh (original)
+++ compiler-rt/trunk/test/tsan/test_output.sh Mon Jun  9 17:02:14 2014
@@ -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





More information about the llvm-commits mailing list