summaryrefslogtreecommitdiff
path: root/test/asan/TestCases/sleep_before_dying.c
diff options
context:
space:
mode:
authorKuba Brecka <kuba.brecka@gmail.com>2015-07-07 09:55:00 +0000
committerKuba Brecka <kuba.brecka@gmail.com>2015-07-07 09:55:00 +0000
commitd3b30c45fa5b39f4df21de34d703906dba573df8 (patch)
tree8d6ae86ece129c4530a7e1fdb1bb70019e7164ab /test/asan/TestCases/sleep_before_dying.c
parente1d19d19744ad2f217ed7acb183d649f947ef2cc (diff)
downloadcompiler-rt-d3b30c45fa5b39f4df21de34d703906dba573df8.tar.gz
[asan] Add missing $ASAN_OPTIONS to some test cases
Since http://reviews.llvm.org/D10294, ASan test cases now respect default env. options via `ASAN_OPTION=$ASAN_OPTIONS:additional_options=xxx`. This patch adds this to a few test cases where it's still missing. Differential Revision: http://reviews.llvm.org/D10988 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@241571 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/asan/TestCases/sleep_before_dying.c')
-rw-r--r--test/asan/TestCases/sleep_before_dying.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/asan/TestCases/sleep_before_dying.c b/test/asan/TestCases/sleep_before_dying.c
index 28ae0bf66..2029f572a 100644
--- a/test/asan/TestCases/sleep_before_dying.c
+++ b/test/asan/TestCases/sleep_before_dying.c
@@ -1,5 +1,5 @@
// RUN: %clang_asan -O2 %s -o %t
-// RUN: env ASAN_OPTIONS="sleep_before_dying=1" not %run %t 2>&1 | FileCheck %s
+// RUN: env ASAN_OPTIONS="$ASAN_OPTIONS:sleep_before_dying=1" not %run %t 2>&1 | FileCheck %s
#include <stdlib.h>
int main() {