diff options
author | Timur Iskhodzhanov <timurrrr@google.com> | 2014-05-26 11:25:32 +0000 |
---|---|---|
committer | Timur Iskhodzhanov <timurrrr@google.com> | 2014-05-26 11:25:32 +0000 |
commit | 5873419af7d44b14a43d9e19aa7722d4c387aa67 (patch) | |
tree | 5f1b59745d62a14038e04097ecac4665cd982554 | |
parent | 968d599dc409079d3d9a389ab8b8dd9d2cb8137a (diff) | |
download | bcm5719-llvm-5873419af7d44b14a43d9e19aa7722d4c387aa67.tar.gz bcm5719-llvm-5873419af7d44b14a43d9e19aa7722d4c387aa67.zip |
[ASan/Win tests] Use the env keyword in the SUAR tests to work with gnuwin/lit correctly
llvm-svn: 209620
-rw-r--r-- | compiler-rt/test/asan/TestCases/Windows/dll_stack_use_after_return.cc | 2 | ||||
-rw-r--r-- | compiler-rt/test/asan/TestCases/Windows/stack_use_after_return.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/test/asan/TestCases/Windows/dll_stack_use_after_return.cc b/compiler-rt/test/asan/TestCases/Windows/dll_stack_use_after_return.cc index 19958e82d95..322aa53168e 100644 --- a/compiler-rt/test/asan/TestCases/Windows/dll_stack_use_after_return.cc +++ b/compiler-rt/test/asan/TestCases/Windows/dll_stack_use_after_return.cc @@ -1,7 +1,7 @@ // RUN: %clangxx_asan -O0 %p/dll_host.cc -Fe%t // RUN: %clangxx_asan -LD -O0 %s -Fe%t.dll // FIXME: 'cat' is needed due to PR19744. -// RUN: ASAN_OPTIONS=detect_stack_use_after_return=1 not %run %t %t.dll 2>&1 | cat | FileCheck %s +// RUN: env ASAN_OPTIONS=detect_stack_use_after_return=1 not %run %t %t.dll 2>&1 | cat | FileCheck %s #include <malloc.h> diff --git a/compiler-rt/test/asan/TestCases/Windows/stack_use_after_return.cc b/compiler-rt/test/asan/TestCases/Windows/stack_use_after_return.cc index 535ba741c87..03ab70e6a03 100644 --- a/compiler-rt/test/asan/TestCases/Windows/stack_use_after_return.cc +++ b/compiler-rt/test/asan/TestCases/Windows/stack_use_after_return.cc @@ -1,6 +1,6 @@ // RUN: %clangxx_asan -O0 %s -Fe%t // FIXME: 'cat' is needed due to PR19744. -// RUN: ASAN_OPTIONS=detect_stack_use_after_return=1 not %run %t 2>&1 | cat | FileCheck %s +// RUN: env ASAN_OPTIONS=detect_stack_use_after_return=1 not %run %t 2>&1 | cat | FileCheck %s char *x; |