[ASan/Win tests] Use the env keyword in the SUAR tests to work with gnuwin/lit correctly

llvm-svn: 209620
This commit is contained in:
Timur Iskhodzhanov 2014-05-26 11:25:32 +00:00
parent 968d599dc4
commit 5873419af7
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
// RUN: %clangxx_asan -O0 %p/dll_host.cc -Fe%t // RUN: %clangxx_asan -O0 %p/dll_host.cc -Fe%t
// RUN: %clangxx_asan -LD -O0 %s -Fe%t.dll // RUN: %clangxx_asan -LD -O0 %s -Fe%t.dll
// FIXME: 'cat' is needed due to PR19744. // 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> #include <malloc.h>

View File

@ -1,6 +1,6 @@
// RUN: %clangxx_asan -O0 %s -Fe%t // RUN: %clangxx_asan -O0 %s -Fe%t
// FIXME: 'cat' is needed due to PR19744. // 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; char *x;