diff options
author | Alexey Samsonov <vonosmas@gmail.com> | 2016-02-17 21:25:12 +0000 |
---|---|---|
committer | Alexey Samsonov <vonosmas@gmail.com> | 2016-02-17 21:25:12 +0000 |
commit | 2af1e3e963d5af7a674f101cfebbddd7e74460ae (patch) | |
tree | 27c75aac58a5990cf22a3edc66d52a986d5f5217 | |
parent | da71cb7b92bcb32027c95ec5092663f4f606d5f4 (diff) | |
download | bcm5719-llvm-2af1e3e963d5af7a674f101cfebbddd7e74460ae.tar.gz bcm5719-llvm-2af1e3e963d5af7a674f101cfebbddd7e74460ae.zip |
PR26606: Make abort_on_error.cc test more portable.
llvm-svn: 261157
-rw-r--r-- | compiler-rt/test/asan/TestCases/Darwin/abort_on_error.cc | 2 | ||||
-rw-r--r-- | compiler-rt/test/asan/TestCases/Linux/abort_on_error.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/test/asan/TestCases/Darwin/abort_on_error.cc b/compiler-rt/test/asan/TestCases/Darwin/abort_on_error.cc index f09718bda06..295afb8442a 100644 --- a/compiler-rt/test/asan/TestCases/Darwin/abort_on_error.cc +++ b/compiler-rt/test/asan/TestCases/Darwin/abort_on_error.cc @@ -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 diff --git a/compiler-rt/test/asan/TestCases/Linux/abort_on_error.cc b/compiler-rt/test/asan/TestCases/Linux/abort_on_error.cc index 406d98b6764..67fa9b83e65 100644 --- a/compiler-rt/test/asan/TestCases/Linux/abort_on_error.cc +++ b/compiler-rt/test/asan/TestCases/Linux/abort_on_error.cc @@ -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 |