[ASan tests] Try to fix Windows buildbots due to r239754
authorFilipe Cabecinhas <me@filcab.net>
Mon, 15 Jun 2015 21:15:26 +0000 (21:15 +0000)
committerFilipe Cabecinhas <me@filcab.net>
Mon, 15 Jun 2015 21:15:26 +0000 (21:15 +0000)
llvm-svn: 239764

compiler-rt/test/asan/TestCases/Windows/coverage-basic.cc
compiler-rt/test/asan/TestCases/Windows/dll_stack_use_after_return.cc
compiler-rt/test/asan/TestCases/Windows/report_globals_reload_dll.cc
compiler-rt/test/asan/TestCases/Windows/report_globals_vs_freelibrary.cc
compiler-rt/test/asan/TestCases/Windows/stack_use_after_return.cc

index 63d29a575f2081af7029d7172a7126a313b52351..a249999ac2bf80e1f027fc494e0e21a572a8806d 100644 (file)
@@ -1,7 +1,7 @@
 // RUN: rm -rf %T/coverage-basic
 // RUN: mkdir %T/coverage-basic && cd %T/coverage-basic
 // RUN: %clangxx_asan -fsanitize-coverage=func %s -o test.exe
-// RUN: env ASAN_OPTIONS=$ASAN_OPTIONS:coverage=1 %run ./test.exe
+// RUN: env ASAN_OPTIONS=%ASAN_OPTIONS%:coverage=1 %run ./test.exe
 //
 // RUN: %sancov print *.sancov | FileCheck %s
 #include <stdio.h>
index 44e5cbb86498e4983989c32977595bbf3f820c0c..1a6ff2afd9a9a022e8d2e50104619567258a77ff 100644 (file)
@@ -1,6 +1,6 @@
 // RUN: %clang_cl_asan -O0 %p/dll_host.cc -Fe%t
 // RUN: %clang_cl_asan -LD -O0 %s -Fe%t.dll
-// RUN: env ASAN_OPTIONS=$ASAN_OPTIONS:detect_stack_use_after_return=1 not %run %t %t.dll 2>&1 | FileCheck %s
+// RUN: env ASAN_OPTIONS=%ASAN_OPTIONS%:detect_stack_use_after_return=1 not %run %t %t.dll 2>&1 | FileCheck %s
 
 #include <malloc.h>
 
index c10d2e20f9a180a3d8dd2fc341d5d7efb6002de7..182b0d22aa2cab691a3529c9205f8a704876a27c 100644 (file)
@@ -1,7 +1,7 @@
 // Make sure we can handle reloading the same DLL multiple times.
 // RUN: %clang_cl_asan -LD -O0 -DDLL %s -Fe%t.dll
 // RUN: %clang_cl_asan -O0 -DEXE %s -Fe%te.exe
-// RUN: env ASAN_OPTIONS=$ASAN_OPTIONS:report_globals=1 %run %te.exe %t.dll 2>&1 | FileCheck %s
+// RUN: env ASAN_OPTIONS=%ASAN_OPTIONS%:report_globals=1 %run %te.exe %t.dll 2>&1 | FileCheck %s
 
 #include <windows.h>
 #include <stdio.h>
index 853804866bb5c7127ea5e1242411397b8ebe8265..e0eee4af76428b049bd844993fd9033e296556a5 100644 (file)
@@ -1,6 +1,6 @@
 // RUN: %clang_cl_asan -LD -O0 -DDLL %s -Fe%t.dll
 // RUN: %clang_cl_asan -O0 -DEXE %s -Fe%te.exe
-// RUN: env ASAN_OPTIONS=$ASAN_OPTIONS:report_globals=2 %run %te.exe %t.dll 2>&1 | FileCheck %s
+// RUN: env ASAN_OPTIONS=%ASAN_OPTIONS%:report_globals=2 %run %te.exe %t.dll 2>&1 | FileCheck %s
 
 #include <windows.h>
 #include <stdio.h>
index 508c0bf58a395c0528196b1b31409e7ccb1dd640..282d3f2fb559b9dd2acbeead1696557c6c54f4fd 100644 (file)
@@ -1,5 +1,5 @@
 // RUN: %clang_cl_asan -O0 %s -Fe%t
-// RUN: env ASAN_OPTIONS=$ASAN_OPTIONS:detect_stack_use_after_return=1 not %run %t 2>&1 | FileCheck %s
+// RUN: env ASAN_OPTIONS=%ASAN_OPTIONS%:detect_stack_use_after_return=1 not %run %t 2>&1 | FileCheck %s
 
 char *x;