summaryrefslogtreecommitdiff
path: root/test/tsan/ignore_lib0.cc
diff options
context:
space:
mode:
authorKuba Brecka <kuba.brecka@gmail.com>2015-11-19 17:28:46 +0000
committerKuba Brecka <kuba.brecka@gmail.com>2015-11-19 17:28:46 +0000
commit71aca88f38d1e3ed41cb9e5aeb1ed0102914e487 (patch)
tree1cbc410655aae29c15f3e9bc29788457f3ea45c3 /test/tsan/ignore_lib0.cc
parent653078b1212eb5f696fcb92d27f4ae1202a373d6 (diff)
[tsan] Implement "%env_tsan_opts" substitution to inherit default TSAN_OPTIONS
We already have %env_asan_opts for ASan, let's implement the same for TSan. Differential Revision: http://reviews.llvm.org/D14698 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@253579 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/tsan/ignore_lib0.cc')
-rw-r--r--test/tsan/ignore_lib0.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tsan/ignore_lib0.cc b/test/tsan/ignore_lib0.cc
index 122ec1f45..c72aa496a 100644
--- a/test/tsan/ignore_lib0.cc
+++ b/test/tsan/ignore_lib0.cc
@@ -3,7 +3,7 @@
// RUN: echo running w/o suppressions:
// RUN: LD_LIBRARY_PATH=%T${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} %deflake %run %t | FileCheck %s --check-prefix=CHECK-NOSUPP
// RUN: echo running with suppressions:
-// RUN: LD_LIBRARY_PATH=%T${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} TSAN_OPTIONS="$TSAN_OPTIONS suppressions='%s.supp'" %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-WITHSUPP
+// RUN: LD_LIBRARY_PATH=%T${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} %env_tsan_opts=suppressions='%s.supp' %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-WITHSUPP
// Tests that interceptors coming from a library specified in called_from_lib
// suppression are ignored.