[compiler-rt] r187889 - [TSan] Fix free_race.c by removing `not` from the test invocation that doesn't fail.
Alexander Potapenko
glider at google.com
Wed Aug 7 06:54:27 PDT 2013
Author: glider
Date: Wed Aug 7 08:54:27 2013
New Revision: 187889
URL: http://llvm.org/viewvc/llvm-project?rev=187889&view=rev
Log:
[TSan] Fix free_race.c by removing `not` from the test invocation that doesn't fail.
Modified:
compiler-rt/trunk/lib/tsan/lit_tests/free_race.c
Modified: compiler-rt/trunk/lib/tsan/lit_tests/free_race.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/tsan/lit_tests/free_race.c?rev=187889&r1=187888&r2=187889&view=diff
==============================================================================
--- compiler-rt/trunk/lib/tsan/lit_tests/free_race.c (original)
+++ compiler-rt/trunk/lib/tsan/lit_tests/free_race.c Wed Aug 7 08:54:27 2013
@@ -1,6 +1,6 @@
-// RUN: %clang_tsan -O1 %s -o %t || exit 1
+// RUN: %clang_tsan -O1 %s -o %t
// RUN: not %t 2>&1 | FileCheck %s --check-prefix=NOZUPP
-// RUN: TSAN_OPTIONS="suppressions=%s.supp print_suppressions=1" not %t 2>&1 | FileCheck %s --check-prefix=SUPP
+// RUN: TSAN_OPTIONS="suppressions=%s.supp print_suppressions=1" %t 2>&1 | FileCheck %s --check-prefix=SUPP
#include <pthread.h>
#include <stdlib.h>
@@ -47,4 +47,3 @@ int main() {
// CHECK-NOZUPP: SUMMARY: ThreadSanitizer: heap-use-after-free{{.*}}Thread2
// CHECK-SUPP: ThreadSanitizer: Matched 1 suppressions
// CHECK-SUPP: 1 race:^Thread2$
-
More information about the llvm-commits
mailing list