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

Timur Iskhodzhanov timurrrr at google.com
Mon May 26 04:25:33 PDT 2014


Author: timurrrr
Date: Mon May 26 06:25:32 2014
New Revision: 209620

URL: http://llvm.org/viewvc/llvm-project?rev=209620&view=rev
Log:
[ASan/Win tests] Use the env keyword in the SUAR tests to work with gnuwin/lit correctly

Modified:
    compiler-rt/trunk/test/asan/TestCases/Windows/dll_stack_use_after_return.cc
    compiler-rt/trunk/test/asan/TestCases/Windows/stack_use_after_return.cc

Modified: compiler-rt/trunk/test/asan/TestCases/Windows/dll_stack_use_after_return.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Windows/dll_stack_use_after_return.cc?rev=209620&r1=209619&r2=209620&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Windows/dll_stack_use_after_return.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/Windows/dll_stack_use_after_return.cc Mon May 26 06:25:32 2014
@@ -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>
 

Modified: compiler-rt/trunk/test/asan/TestCases/Windows/stack_use_after_return.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Windows/stack_use_after_return.cc?rev=209620&r1=209619&r2=209620&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Windows/stack_use_after_return.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/Windows/stack_use_after_return.cc Mon May 26 06:25:32 2014
@@ -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;
 





More information about the llvm-commits mailing list