diff options
author | Alexey Samsonov <vonosmas@gmail.com> | 2014-06-06 21:04:55 +0000 |
---|---|---|
committer | Alexey Samsonov <vonosmas@gmail.com> | 2014-06-06 21:04:55 +0000 |
commit | 2c8dda4e53a305566bfd92967166ffe68d53851b (patch) | |
tree | e0a228a20d801f14b5cbd814647996d3e726cf02 /compiler-rt/test/tsan/mutex_cycle2.c | |
parent | 06a4042c8d64d21a3cc0642067ced3e0ad62129f (diff) | |
download | bcm5719-llvm-2c8dda4e53a305566bfd92967166ffe68d53851b.tar.gz bcm5719-llvm-2c8dda4e53a305566bfd92967166ffe68d53851b.zip |
[TSan] Make lit-tests more self-contained
llvm-svn: 210370
Diffstat (limited to 'compiler-rt/test/tsan/mutex_cycle2.c')
-rw-r--r-- | compiler-rt/test/tsan/mutex_cycle2.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/compiler-rt/test/tsan/mutex_cycle2.c b/compiler-rt/test/tsan/mutex_cycle2.c index fb2b533a103..cd9a46733f2 100644 --- a/compiler-rt/test/tsan/mutex_cycle2.c +++ b/compiler-rt/test/tsan/mutex_cycle2.c @@ -1,9 +1,9 @@ // RUN: %clangxx_tsan %s -o %t // 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" %run %t -// RUN: echo "deadlock:zzzz" > sup -// RUN: TSAN_OPTIONS="detect_deadlocks=1 suppressions=sup" not %run %t 2>&1 | FileCheck %s +// RUN: echo "deadlock:main" > %t.sup +// RUN: TSAN_OPTIONS="detect_deadlocks=1 suppressions=%t.sup" %run %t +// RUN: echo "deadlock:zzzz" > %t.sup +// RUN: TSAN_OPTIONS="detect_deadlocks=1 suppressions=%t.sup" not %run %t 2>&1 | FileCheck %s #include <pthread.h> int main() { |