aboutsummaryrefslogtreecommitdiff
path: root/test/tsan/ignore_lib1.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/tsan/ignore_lib1.cc')
-rw-r--r--test/tsan/ignore_lib1.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/tsan/ignore_lib1.cc b/test/tsan/ignore_lib1.cc
index ef1f973795ed..e6a13a394395 100644
--- a/test/tsan/ignore_lib1.cc
+++ b/test/tsan/ignore_lib1.cc
@@ -3,11 +3,13 @@
// 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.
+// REQUIRES: stable-runtime
+
#ifndef LIB
#include <dlfcn.h>