diff options
author | Kuba Brecka <kuba.brecka@gmail.com> | 2015-07-07 09:55:00 +0000 |
---|---|---|
committer | Kuba Brecka <kuba.brecka@gmail.com> | 2015-07-07 09:55:00 +0000 |
commit | d3b30c45fa5b39f4df21de34d703906dba573df8 (patch) | |
tree | 8d6ae86ece129c4530a7e1fdb1bb70019e7164ab /test/asan/TestCases/strcspn-2.c | |
parent | e1d19d19744ad2f217ed7acb183d649f947ef2cc (diff) | |
download | compiler-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/strcspn-2.c')
-rw-r--r-- | test/asan/TestCases/strcspn-2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/asan/TestCases/strcspn-2.c b/test/asan/TestCases/strcspn-2.c index 288380fd6..aa82aa60a 100644 --- a/test/asan/TestCases/strcspn-2.c +++ b/test/asan/TestCases/strcspn-2.c @@ -1,5 +1,5 @@ // Test stopset overflow in strcspn function -// RUN: %clang_asan %s -o %t && ASAN_OPTIONS=strict_string_checks=true not %run %t 2>&1 | FileCheck %s +// RUN: %clang_asan %s -o %t && env ASAN_OPTIONS=$ASAN_OPTIONS:strict_string_checks=true not %run %t 2>&1 | FileCheck %s // Test intercept_strcspn asan option // RUN: env ASAN_OPTIONS=$ASAN_OPTIONS:intercept_strspn=false %run %t 2>&1 |