[compiler-rt] r261157 - PR26606: Make abort_on_error.cc test more portable.

Alexey Samsonov via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 17 13:25:12 PST 2016


Author: samsonov
Date: Wed Feb 17 15:25:12 2016
New Revision: 261157

URL: http://llvm.org/viewvc/llvm-project?rev=261157&view=rev
Log:
PR26606: Make abort_on_error.cc test more portable.

Modified:
    compiler-rt/trunk/test/asan/TestCases/Darwin/abort_on_error.cc
    compiler-rt/trunk/test/asan/TestCases/Linux/abort_on_error.cc

Modified: compiler-rt/trunk/test/asan/TestCases/Darwin/abort_on_error.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Darwin/abort_on_error.cc?rev=261157&r1=261156&r2=261157&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Darwin/abort_on_error.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/Darwin/abort_on_error.cc Wed Feb 17 15:25:12 2016
@@ -4,7 +4,7 @@
 // RUN: %clangxx_asan %s -o %t
 
 // Intentionally don't inherit the default ASAN_OPTIONS.
-// RUN: ASAN_OPTIONS="" not --crash %run %t 2>&1 | FileCheck %s
+// RUN: env ASAN_OPTIONS="" not --crash %run %t 2>&1 | FileCheck %s
 // When we use lit's default ASAN_OPTIONS, we shouldn't crash.
 // RUN: not %run %t 2>&1 | FileCheck %s
 

Modified: compiler-rt/trunk/test/asan/TestCases/Linux/abort_on_error.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Linux/abort_on_error.cc?rev=261157&r1=261156&r2=261157&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Linux/abort_on_error.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/Linux/abort_on_error.cc Wed Feb 17 15:25:12 2016
@@ -4,7 +4,7 @@
 // RUN: %clangxx_asan %s -o %t
 
 // Intentionally don't inherit the default ASAN_OPTIONS.
-// RUN: ASAN_OPTIONS="" not %run %t 2>&1 | FileCheck %s
+// RUN: env ASAN_OPTIONS="" not %run %t 2>&1 | FileCheck %s
 // When we use lit's default ASAN_OPTIONS, we shouldn't crash either. On Linux
 // lit doesn't set ASAN_OPTIONS anyway.
 // RUN: not %run %t 2>&1 | FileCheck %s




More information about the llvm-commits mailing list