summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/tsan/ignore_lib2.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
commit153594694b8bb4476b511983adbfaf14eeebdd8e (patch)
tree9e84ac33e2606668c4b6853083c1c4fa8d5f3ec3 /compiler-rt/test/tsan/ignore_lib2.cc
parent85c21f0a6e646e56bd394b2a819ad03db5666183 (diff)
downloadbcm5719-llvm-153594694b8bb4476b511983adbfaf14eeebdd8e.tar.gz
bcm5719-llvm-153594694b8bb4476b511983adbfaf14eeebdd8e.zip
[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 llvm-svn: 253579
Diffstat (limited to 'compiler-rt/test/tsan/ignore_lib2.cc')
-rw-r--r--compiler-rt/test/tsan/ignore_lib2.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/test/tsan/ignore_lib2.cc b/compiler-rt/test/tsan/ignore_lib2.cc
index ad3107cf53a..4f584b14664 100644
--- a/compiler-rt/test/tsan/ignore_lib2.cc
+++ b/compiler-rt/test/tsan/ignore_lib2.cc
@@ -1,7 +1,7 @@
// RUN: %clangxx_tsan -O1 %s -DLIB -fPIC -fno-sanitize=thread -shared -o %T/libignore_lib2_0.so
// RUN: %clangxx_tsan -O1 %s -DLIB -fPIC -fno-sanitize=thread -shared -o %T/libignore_lib2_1.so
// RUN: %clangxx_tsan -O1 %s -o %t
-// RUN: TSAN_OPTIONS="$TSAN_OPTIONS suppressions='%s.supp'" %deflake %run %t | FileCheck %s
+// RUN: %env_tsan_opts=suppressions='%s.supp' %deflake %run %t | FileCheck %s
// Tests that called_from_lib suppression matched against 2 libraries
// causes program crash (this is not supported).
OpenPOWER on IntegriCloud