summaryrefslogtreecommitdiff
path: root/test/tsan/cond.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/tsan/cond.c')
-rw-r--r--test/tsan/cond.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tsan/cond.c b/test/tsan/cond.c
index 52c87a413..05ea672c6 100644
--- a/test/tsan/cond.c
+++ b/test/tsan/cond.c
@@ -1,4 +1,4 @@
-// RUN: %clang_tsan -O1 %s -o %t && %t 2>&1 | FileCheck %s
+// RUN: %clang_tsan -O1 %s -o %t && %run %t 2>&1 | FileCheck %s
// CHECK-NOT: WARNING: ThreadSanitizer: data race
// CHECK-NOT: ThreadSanitizer WARNING: double lock
// CHECK-NOT: ThreadSanitizer WARNING: mutex unlock by another thread