summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/tsan/ignore_lib1.cc
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/test/tsan/ignore_lib1.cc')
-rw-r--r--compiler-rt/test/tsan/ignore_lib1.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/test/tsan/ignore_lib1.cc b/compiler-rt/test/tsan/ignore_lib1.cc
index 1283cfdb4ef..e6a13a39439 100644
--- a/compiler-rt/test/tsan/ignore_lib1.cc
+++ b/compiler-rt/test/tsan/ignore_lib1.cc
@@ -3,7 +3,7 @@
// RUN: echo running w/o suppressions:
// RUN: %deflake %run %t | FileCheck %s --check-prefix=CHECK-NOSUPP
// RUN: echo running with suppressions:
-// RUN: TSAN_OPTIONS="$TSAN_OPTIONS suppressions='%s.supp'" %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-WITHSUPP
+// RUN: %env_tsan_opts=suppressions='%s.supp' %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-WITHSUPP
// Tests that interceptors coming from a dynamically loaded library specified
// in called_from_lib suppression are ignored.
OpenPOWER on IntegriCloud