forked from OSchip/llvm-project
[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:
parent
968d599dc4
commit
5873419af7
|
@ -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>
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue