diff options
author | Timur Iskhodzhanov <timurrrr@google.com> | 2014-05-26 13:44:57 +0000 |
---|---|---|
committer | Timur Iskhodzhanov <timurrrr@google.com> | 2014-05-26 13:44:57 +0000 |
commit | d7ae348bc52edf6eab4f5520c4e83817306166c1 (patch) | |
tree | 5bae336cf562fcffa6f0d9153c33a2d90cf47b0a /test/asan/TestCases/memcmp_strict_test.cc | |
parent | 51d28680772cb0b03b0d9ceb0f6aef60a0e9aece (diff) |
[ASan tests] Use ASAN_OPTIONS in a portable way
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@209629 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/asan/TestCases/memcmp_strict_test.cc')
-rw-r--r-- | test/asan/TestCases/memcmp_strict_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/asan/TestCases/memcmp_strict_test.cc b/test/asan/TestCases/memcmp_strict_test.cc index 1dcc57319..16b7673dd 100644 --- a/test/asan/TestCases/memcmp_strict_test.cc +++ b/test/asan/TestCases/memcmp_strict_test.cc @@ -1,5 +1,5 @@ -// RUN: %clangxx_asan -O0 %s -o %t && ASAN_OPTIONS=strict_memcmp=0 %run %t -// RUN: %clangxx_asan -O0 %s -o %t && ASAN_OPTIONS=strict_memcmp=1 not %run %t 2>&1 | FileCheck %s +// RUN: %clangxx_asan -O0 %s -o %t && env ASAN_OPTIONS=strict_memcmp=0 %run %t +// RUN: %clangxx_asan -O0 %s -o %t && env ASAN_OPTIONS=strict_memcmp=1 not %run %t 2>&1 | FileCheck %s // Default to strict_memcmp=1. // RUN: %clangxx_asan -O0 %s -o %t && not %run %t 2>&1 | FileCheck %s |