[compiler-rt] r252958 - [Windows] Fix halt_on_error-1.c test on Windows with %env_asan_opts

Reid Kleckner via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 12 13:58:29 PST 2015


Author: rnk
Date: Thu Nov 12 15:58:28 2015
New Revision: 252958

URL: http://llvm.org/viewvc/llvm-project?rev=252958&view=rev
Log:
[Windows] Fix halt_on_error-1.c test on Windows with %env_asan_opts

Modified:
    compiler-rt/trunk/test/asan/TestCases/halt_on_error-1.c

Modified: compiler-rt/trunk/test/asan/TestCases/halt_on_error-1.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/halt_on_error-1.c?rev=252958&r1=252957&r2=252958&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/halt_on_error-1.c (original)
+++ compiler-rt/trunk/test/asan/TestCases/halt_on_error-1.c Thu Nov 12 15:58:28 2015
@@ -3,8 +3,8 @@
 // RUN: %clang_asan -fsanitize-recover=address %s -o %t
 //
 // RUN: env not %run %t 2>&1 | FileCheck %s
-// RUN: env ASAN_OPTIONS=$ASAN_OPTIONS:halt_on_error=true not %run %t 2>&1 | FileCheck %s
-// RUN: env ASAN_OPTIONS=$ASAN_OPTIONS:halt_on_error=false %run %t 2>&1 | FileCheck %s --check-prefix CHECK-RECOVER
+// RUN: %env_asan_opts=halt_on_error=true not %run %t 2>&1 | FileCheck %s
+// RUN: %env_asan_opts=halt_on_error=false %run %t 2>&1 | FileCheck %s --check-prefix CHECK-RECOVER
 
 #include <string.h>
 




More information about the llvm-commits mailing list