aboutsummaryrefslogtreecommitdiff
path: root/test/tsan/halt_on_error.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/tsan/halt_on_error.cc')
-rw-r--r--test/tsan/halt_on_error.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tsan/halt_on_error.cc b/test/tsan/halt_on_error.cc
index e55454b57c1d..5d481c3cbcd6 100644
--- a/test/tsan/halt_on_error.cc
+++ b/test/tsan/halt_on_error.cc
@@ -1,4 +1,4 @@
-// RUN: %clang_tsan -O1 %s -o %t && TSAN_OPTIONS="$TSAN_OPTIONS halt_on_error=1" %deflake %run %t | FileCheck %s
+// RUN: %clang_tsan -O1 %s -o %t && %env_tsan_opts=halt_on_error=1 %deflake %run %t | FileCheck %s
#include "test.h"
int X;