diff options
18 files changed, 18 insertions, 37 deletions
diff --git a/compiler-rt/test/tsan/libdispatch/after.c b/compiler-rt/test/tsan/libdispatch/after.c index 59281e76d6d..7ec2e10aff4 100644 --- a/compiler-rt/test/tsan/libdispatch/after.c +++ b/compiler-rt/test/tsan/libdispatch/after.c @@ -1,5 +1,5 @@ // RUN: %clang_tsan %s -o %t -// RUN: %run %t 2>&1 | FileCheck %s +// RUN: %run %t 2>&1 | FileCheck %s --implicit-check-not='ThreadSanitizer' #include "dispatch/dispatch.h" @@ -39,4 +39,3 @@ int main(int argc, const char *argv[]) { // CHECK: start // CHECK: done -// CHECK-NOT: WARNING: ThreadSanitizer diff --git a/compiler-rt/test/tsan/libdispatch/async-norace.c b/compiler-rt/test/tsan/libdispatch/async-norace.c index c3b60357935..ccda84535e4 100644 --- a/compiler-rt/test/tsan/libdispatch/async-norace.c +++ b/compiler-rt/test/tsan/libdispatch/async-norace.c @@ -1,5 +1,5 @@ // RUN: %clang_tsan %s -o %t -// RUN: %run %t 2>&1 | FileCheck %s +// RUN: %run %t 2>&1 | FileCheck %s --implicit-check-not='ThreadSanitizer' #include "dispatch/dispatch.h" @@ -24,4 +24,3 @@ int main() { // CHECK: Hello world. // CHECK: Done. -// CHECK-NOT: WARNING: ThreadSanitizer diff --git a/compiler-rt/test/tsan/libdispatch/barrier.c b/compiler-rt/test/tsan/libdispatch/barrier.c index 52b115ed34d..7702ee63c90 100644 --- a/compiler-rt/test/tsan/libdispatch/barrier.c +++ b/compiler-rt/test/tsan/libdispatch/barrier.c @@ -1,5 +1,5 @@ // RUN: %clang_tsan %s -o %t -// RUN: %run %t 2>&1 | FileCheck %s +// RUN: %run %t 2>&1 | FileCheck %s --implicit-check-not='ThreadSanitizer' #include "dispatch/dispatch.h" @@ -44,4 +44,3 @@ int main() { // CHECK: Hello world. // CHECK: Done. -// CHECK-NOT: WARNING: ThreadSanitizer diff --git a/compiler-rt/test/tsan/libdispatch/blocks.c b/compiler-rt/test/tsan/libdispatch/blocks.c index 413b2208576..e8f1e28efbe 100644 --- a/compiler-rt/test/tsan/libdispatch/blocks.c +++ b/compiler-rt/test/tsan/libdispatch/blocks.c @@ -1,5 +1,5 @@ // RUN: %clang_tsan %s -o %t -// RUN: %run %t 2>&1 | FileCheck %s +// RUN: %run %t 2>&1 | FileCheck %s --implicit-check-not='ThreadSanitizer' #include "dispatch/dispatch.h" @@ -33,5 +33,3 @@ int main() { // CHECK: start // CHECK: block_var = 42 // CHECK: done -// CHECK-NOT: WARNING: ThreadSanitizer -// CHECK-NOT: CHECK failed diff --git a/compiler-rt/test/tsan/libdispatch/fd.c b/compiler-rt/test/tsan/libdispatch/fd.c index 9a77a3f3c82..107f6252d7b 100644 --- a/compiler-rt/test/tsan/libdispatch/fd.c +++ b/compiler-rt/test/tsan/libdispatch/fd.c @@ -1,5 +1,5 @@ // RUN: %clang_tsan %s -o %t -// RUN: %run %t 2>&1 | FileCheck %s +// RUN: %run %t 2>&1 | FileCheck %s --implicit-check-not='ThreadSanitizer' #include <dispatch/dispatch.h> @@ -58,5 +58,4 @@ int main(int argc, const char *argv[]) { } // CHECK: Hello world. -// CHECK-NOT: WARNING: ThreadSanitizer // CHECK: Done. diff --git a/compiler-rt/test/tsan/libdispatch/groups-norace.c b/compiler-rt/test/tsan/libdispatch/groups-norace.c index 0a8447e3aaa..ed6311debdc 100644 --- a/compiler-rt/test/tsan/libdispatch/groups-norace.c +++ b/compiler-rt/test/tsan/libdispatch/groups-norace.c @@ -1,5 +1,5 @@ // RUN: %clang_tsan %s -o %t -// RUN: %run %t 2>&1 | FileCheck %s +// RUN: %run %t 2>&1 | FileCheck %s --implicit-check-not='ThreadSanitizer' #include "dispatch/dispatch.h" @@ -48,4 +48,3 @@ int main() { // CHECK: Hello world. // CHECK: Done. -// CHECK-NOT: WARNING: ThreadSanitizer diff --git a/compiler-rt/test/tsan/libdispatch/io-barrier.c b/compiler-rt/test/tsan/libdispatch/io-barrier.c index 849644e44ef..c0d3fb0cf6f 100644 --- a/compiler-rt/test/tsan/libdispatch/io-barrier.c +++ b/compiler-rt/test/tsan/libdispatch/io-barrier.c @@ -1,5 +1,5 @@ // RUN: %clang_tsan %s -o %t -// RUN: %run %t 2>&1 | FileCheck %s +// RUN: %run %t 2>&1 | FileCheck %s --implicit-check-not='ThreadSanitizer' #include <dispatch/dispatch.h> @@ -46,5 +46,4 @@ int main(int argc, const char *argv[]) { } // CHECK: Hello world. -// CHECK-NOT: WARNING: ThreadSanitizer // CHECK: Done. diff --git a/compiler-rt/test/tsan/libdispatch/io-cleanup.c b/compiler-rt/test/tsan/libdispatch/io-cleanup.c index 3e1c9d78e9c..8c0ad8f6391 100644 --- a/compiler-rt/test/tsan/libdispatch/io-cleanup.c +++ b/compiler-rt/test/tsan/libdispatch/io-cleanup.c @@ -1,5 +1,5 @@ // RUN: %clang_tsan %s -o %t -// RUN: %run %t 2>&1 | FileCheck %s +// RUN: %run %t 2>&1 | FileCheck %s --implicit-check-not='ThreadSanitizer' #include <dispatch/dispatch.h> @@ -54,5 +54,4 @@ int main(int argc, const char *argv[]) { } // CHECK: Hello world. -// CHECK-NOT: WARNING: ThreadSanitizer // CHECK: Done. diff --git a/compiler-rt/test/tsan/libdispatch/io.c b/compiler-rt/test/tsan/libdispatch/io.c index 6302e743d88..eeededdb614 100644 --- a/compiler-rt/test/tsan/libdispatch/io.c +++ b/compiler-rt/test/tsan/libdispatch/io.c @@ -1,5 +1,5 @@ // RUN: %clang_tsan %s -o %t -// RUN: %run %t 2>&1 | FileCheck %s +// RUN: %run %t 2>&1 | FileCheck %s --implicit-check-not='ThreadSanitizer' #include <dispatch/dispatch.h> @@ -115,5 +115,4 @@ int main(int argc, const char *argv[]) { } // CHECK: Hello world. -// CHECK-NOT: WARNING: ThreadSanitizer // CHECK: Done. diff --git a/compiler-rt/test/tsan/libdispatch/serial-queue-norace.c b/compiler-rt/test/tsan/libdispatch/serial-queue-norace.c index 17fb5f1c73b..2b8009d38b2 100644 --- a/compiler-rt/test/tsan/libdispatch/serial-queue-norace.c +++ b/compiler-rt/test/tsan/libdispatch/serial-queue-norace.c @@ -1,5 +1,5 @@ // RUN: %clang_tsan %s -o %t -// RUN: %run %t 2>&1 | FileCheck %s +// RUN: %run %t 2>&1 | FileCheck %s --implicit-check-not='ThreadSanitizer' #include "dispatch/dispatch.h" @@ -35,4 +35,3 @@ int main() { // CHECK: Hello world. // CHECK: Done. -// CHECK-NOT: WARNING: ThreadSanitizer diff --git a/compiler-rt/test/tsan/libdispatch/source-cancel.c b/compiler-rt/test/tsan/libdispatch/source-cancel.c index bc7282d319a..a85de9511b2 100644 --- a/compiler-rt/test/tsan/libdispatch/source-cancel.c +++ b/compiler-rt/test/tsan/libdispatch/source-cancel.c @@ -1,5 +1,5 @@ // RUN: %clang_tsan %s -o %t -// RUN: %run %t 2>&1 | FileCheck %s +// RUN: %run %t 2>&1 | FileCheck %s --implicit-check-not='ThreadSanitizer' #include "dispatch/dispatch.h" @@ -35,4 +35,3 @@ int main(int argc, const char *argv[]) { } // CHECK: global = 42 -// CHECK-NOT: WARNING: ThreadSanitizer diff --git a/compiler-rt/test/tsan/libdispatch/source-cancel2.c b/compiler-rt/test/tsan/libdispatch/source-cancel2.c index 8ec2732dc60..7531512b7f9 100644 --- a/compiler-rt/test/tsan/libdispatch/source-cancel2.c +++ b/compiler-rt/test/tsan/libdispatch/source-cancel2.c @@ -1,5 +1,5 @@ // RUN: %clang_tsan %s -o %t -// RUN: %run %t 2>&1 | FileCheck %s +// RUN: %run %t 2>&1 | FileCheck %s --implicit-check-not='ThreadSanitizer' #include "dispatch/dispatch.h" @@ -38,4 +38,3 @@ int main(int argc, const char *argv[]) { } // CHECK: global = 42 -// CHECK-NOT: WARNING: ThreadSanitizer diff --git a/compiler-rt/test/tsan/libdispatch/source-event.c b/compiler-rt/test/tsan/libdispatch/source-event.c index f07dd1ea7b9..2a907ae4638 100644 --- a/compiler-rt/test/tsan/libdispatch/source-event.c +++ b/compiler-rt/test/tsan/libdispatch/source-event.c @@ -1,5 +1,5 @@ // RUN: %clang_tsan %s -o %t -// RUN: %run %t 2>&1 | FileCheck %s +// RUN: %run %t 2>&1 | FileCheck %s --implicit-check-not='ThreadSanitizer' #include "dispatch/dispatch.h" @@ -34,4 +34,3 @@ int main(int argc, const char *argv[]) { } // CHECK: global = 42 -// CHECK-NOT: WARNING: ThreadSanitizer diff --git a/compiler-rt/test/tsan/libdispatch/source-event2.c b/compiler-rt/test/tsan/libdispatch/source-event2.c index 5c2b6b72cdc..1afad950d2d 100644 --- a/compiler-rt/test/tsan/libdispatch/source-event2.c +++ b/compiler-rt/test/tsan/libdispatch/source-event2.c @@ -1,5 +1,5 @@ // RUN: %clang_tsan %s -o %t -// RUN: %run %t 2>&1 | FileCheck %s +// RUN: %run %t 2>&1 | FileCheck %s --implicit-check-not='ThreadSanitizer' #include "dispatch/dispatch.h" @@ -37,4 +37,3 @@ int main(int argc, const char *argv[]) { } // CHECK: global = 42 -// CHECK-NOT: WARNING: ThreadSanitizer diff --git a/compiler-rt/test/tsan/libdispatch/source-registration.c b/compiler-rt/test/tsan/libdispatch/source-registration.c index 296c0055b15..f21103e31c0 100644 --- a/compiler-rt/test/tsan/libdispatch/source-registration.c +++ b/compiler-rt/test/tsan/libdispatch/source-registration.c @@ -1,5 +1,5 @@ // RUN: %clang_tsan %s -o %t -// RUN: %run %t 2>&1 | FileCheck %s +// RUN: %run %t 2>&1 | FileCheck %s --implicit-check-not='ThreadSanitizer' #include "dispatch/dispatch.h" @@ -32,4 +32,3 @@ int main(int argc, const char *argv[]) { } // CHECK: global = 42 -// CHECK-NOT: WARNING: ThreadSanitizer diff --git a/compiler-rt/test/tsan/libdispatch/source-registration2.c b/compiler-rt/test/tsan/libdispatch/source-registration2.c index 1e51f6f36b8..2bfd0b5ddf2 100644 --- a/compiler-rt/test/tsan/libdispatch/source-registration2.c +++ b/compiler-rt/test/tsan/libdispatch/source-registration2.c @@ -1,5 +1,5 @@ // RUN: %clang_tsan %s -o %t -// RUN: %run %t 2>&1 | FileCheck %s +// RUN: %run %t 2>&1 | FileCheck %s --implicit-check-not='ThreadSanitizer' #include "dispatch/dispatch.h" @@ -35,4 +35,3 @@ int main(int argc, const char *argv[]) { } // CHECK: global = 42 -// CHECK-NOT: WARNING: ThreadSanitizer diff --git a/compiler-rt/test/tsan/libdispatch/sync-norace.c b/compiler-rt/test/tsan/libdispatch/sync-norace.c index 38d9be384c3..c707dd64bc7 100644 --- a/compiler-rt/test/tsan/libdispatch/sync-norace.c +++ b/compiler-rt/test/tsan/libdispatch/sync-norace.c @@ -1,5 +1,5 @@ // RUN: %clang_tsan %s -o %t -// RUN: %run %t 2>&1 | FileCheck %s +// RUN: %run %t 2>&1 | FileCheck %s --implicit-check-not='ThreadSanitizer' #include "dispatch/dispatch.h" @@ -34,4 +34,3 @@ int main() { // CHECK: Hello world. // CHECK: Done. -// CHECK-NOT: WARNING: ThreadSanitizer diff --git a/compiler-rt/test/tsan/libdispatch/target-queue-norace.c b/compiler-rt/test/tsan/libdispatch/target-queue-norace.c index b5361c81f60..893e0c4f4dc 100644 --- a/compiler-rt/test/tsan/libdispatch/target-queue-norace.c +++ b/compiler-rt/test/tsan/libdispatch/target-queue-norace.c @@ -1,5 +1,5 @@ // RUN: %clang_tsan %s -o %t -// RUN: %run %t 2>&1 | FileCheck %s +// RUN: %run %t 2>&1 | FileCheck %s --implicit-check-not='ThreadSanitizer' #include "dispatch/dispatch.h" @@ -37,5 +37,4 @@ int main(int argc, const char *argv[]) { return 0; } -// CHECK-NOT: WARNING: ThreadSanitizer // CHECK: Done. |