summaryrefslogtreecommitdiff
path: root/test/tsan/mutex_cycle2.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/tsan/mutex_cycle2.c')
-rw-r--r--test/tsan/mutex_cycle2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/tsan/mutex_cycle2.c b/test/tsan/mutex_cycle2.c
index bb4c1b049..fb2b533a1 100644
--- a/test/tsan/mutex_cycle2.c
+++ b/test/tsan/mutex_cycle2.c
@@ -1,9 +1,9 @@
// RUN: %clangxx_tsan %s -o %t
-// RUN: TSAN_OPTIONS=detect_deadlocks=1 not %t 2>&1 | FileCheck %s
+// RUN: TSAN_OPTIONS=detect_deadlocks=1 not %run %t 2>&1 | FileCheck %s
// RUN: echo "deadlock:main" > sup
-// RUN: TSAN_OPTIONS="detect_deadlocks=1 suppressions=sup" %t
+// RUN: TSAN_OPTIONS="detect_deadlocks=1 suppressions=sup" %run %t
// RUN: echo "deadlock:zzzz" > sup
-// RUN: TSAN_OPTIONS="detect_deadlocks=1 suppressions=sup" not %t 2>&1 | FileCheck %s
+// RUN: TSAN_OPTIONS="detect_deadlocks=1 suppressions=sup" not %run %t 2>&1 | FileCheck %s
#include <pthread.h>
int main() {