summaryrefslogtreecommitdiff
path: root/test/asan/TestCases/Linux/asan_rt_confict_test-1.cc
diff options
context:
space:
mode:
authorFilipe Cabecinhas <me@filcab.net>2015-06-15 20:43:42 +0000
committerFilipe Cabecinhas <me@filcab.net>2015-06-15 20:43:42 +0000
commit4a73864a73f96930ce3ed1ddc8fc88be1819a7c7 (patch)
treea22a559feaa94cf7e9c45108c8046426a88c24b8 /test/asan/TestCases/Linux/asan_rt_confict_test-1.cc
parent536b61e10717d15747ba3050c094db2ff6e79667 (diff)
[ASan] Test churn for setting ASAN_OPTIONS=symbolize_vs_style=false
Summary: This commit adds symbolize_vs_style=false to every instance of ASAN_OPTIONS in the asan tests and sets ASAN_OPTIONS=symbolize_vs_style=false in lit, for tests which don't set it. This way we don't need to make the tests be able to deal with both symbolize styles. This is the first patch in the series. I will eventually submit for the other sanitizers too. We need this change (or another way to deal with the different outputs) in order to be able to default to symbolize_vs_style=true on some platforms. Adding to this change, I'm also adding "env " before any command line which sets environment variables. That way the test works on other host shells, like we have if the host is running Windows. Reviewers: samsonov, kcc, rnk Subscribers: tberghammer, llvm-commits Differential Revision: http://reviews.llvm.org/D10294 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@239754 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/asan/TestCases/Linux/asan_rt_confict_test-1.cc')
-rw-r--r--test/asan/TestCases/Linux/asan_rt_confict_test-1.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/asan/TestCases/Linux/asan_rt_confict_test-1.cc b/test/asan/TestCases/Linux/asan_rt_confict_test-1.cc
index 30f1c1770..8cf761c90 100644
--- a/test/asan/TestCases/Linux/asan_rt_confict_test-1.cc
+++ b/test/asan/TestCases/Linux/asan_rt_confict_test-1.cc
@@ -2,7 +2,7 @@
// executable is prohibited.
//
// RUN: %clangxx_asan_static %s -o %t
-// RUN: LD_PRELOAD=%shared_libasan not %run %t 2>&1 | FileCheck %s
+// RUN: env LD_PRELOAD=%shared_libasan not %run %t 2>&1 | FileCheck %s
// REQUIRES: asan-dynamic-runtime
// XFAIL: android