[compiler-rt] r253682 - [TSan] Fix custom scripts that validate TSan on non-standard buildbot.

Alexey Samsonov via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 20 10:13:04 PST 2015


Author: samsonov
Date: Fri Nov 20 12:13:03 2015
New Revision: 253682

URL: http://llvm.org/viewvc/llvm-project?rev=253682&view=rev
Log:
[TSan] Fix custom scripts that validate TSan on non-standard buildbot.

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

Modified: compiler-rt/trunk/lib/tsan/check_analyze.sh
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/tsan/check_analyze.sh?rev=253682&r1=253681&r2=253682&view=diff
==============================================================================
--- compiler-rt/trunk/lib/tsan/check_analyze.sh (original)
+++ compiler-rt/trunk/lib/tsan/check_analyze.sh Fri Nov 20 12:13:03 2015
@@ -22,7 +22,13 @@ for f in write1; do
   check $f pop 2
 done
 
-for f in write2 write4 write8; do
+for f in write2 write4; do
+  check $f rsp 1
+  check $f push 4
+  check $f pop 4
+done
+
+for f in write8; do
   check $f rsp 1
   check $f push 3
   check $f pop 3

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=253682&r1=253681&r2=253682&view=diff
==============================================================================
--- compiler-rt/trunk/test/tsan/test_output.sh (original)
+++ compiler-rt/trunk/test/tsan/test_output.sh Fri Nov 20 12:13:03 2015
@@ -48,6 +48,10 @@ if [ "$1" == "" ]; then
       echo SKIPPING $c -- requires TSAN_OPTIONS
       continue
     fi
+    if [ "`grep "env_tsan_opts" $c`" ]; then
+      echo SKIPPING $c -- requires TSAN_OPTIONS
+      continue
+    fi
     if [ "`grep "XFAIL" $c`" ]; then
       echo SKIPPING $c -- has XFAIL
       continue




More information about the llvm-commits mailing list