summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/tsan/setuid2.c
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/setuid2.c
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/setuid2.c')
-rw-r--r--compiler-rt/test/tsan/setuid2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/test/tsan/setuid2.c b/compiler-rt/test/tsan/setuid2.c
index 67a6fd14dbc..ad42db53f42 100644
--- a/compiler-rt/test/tsan/setuid2.c
+++ b/compiler-rt/test/tsan/setuid2.c
@@ -1,4 +1,4 @@
-// RUN: %clang_tsan -O1 %s -o %t && TSAN_OPTIONS="flush_memory_ms=1 memory_limit_mb=1" %run %t 2>&1 | FileCheck %s
+// RUN: %clang_tsan -O1 %s -o %t && %env_tsan_opts=flush_memory_ms=1:memory_limit_mb=1 %run %t 2>&1 | FileCheck %s
#include "test.h"
#include <sys/types.h>
#include <unistd.h>
OpenPOWER on IntegriCloud