summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/sanitizer_common/lit.common.cfg
diff options
context:
space:
mode:
authorFilipe Cabecinhas <me@filcab.net>2016-03-10 18:46:23 +0000
committerFilipe Cabecinhas <me@filcab.net>2016-03-10 18:46:23 +0000
commitcf36b5fd3277bb68314857fe4308210cf9101865 (patch)
treefb3713b1833bd8ba708823a1ffa11f68f50ff382 /compiler-rt/test/sanitizer_common/lit.common.cfg
parent00e2dcec0248ff86c9660f2b8409d396273dbcb7 (diff)
downloadbcm5719-llvm-cf36b5fd3277bb68314857fe4308210cf9101865.tar.gz
bcm5719-llvm-cf36b5fd3277bb68314857fe4308210cf9101865.zip
[sanitizer_common tests] Make Darwin a Posix system and bring the stable-runtime definition from ASan tests.
Summary: This is an initial setup in order to move some additional tests from Linux onto Posix. I also moved decorate_proc_maps onto the Linux directory Finally added msan's definition for "stable-runtime". Only a test requires it, and its commit message (r248014) seems to imply that AArch64 is problematic with MSan. Reviewers: samsonov, rengolin, t.p.northover, eugenis Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D17928 llvm-svn: 263142
Diffstat (limited to 'compiler-rt/test/sanitizer_common/lit.common.cfg')
-rw-r--r--compiler-rt/test/sanitizer_common/lit.common.cfg3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler-rt/test/sanitizer_common/lit.common.cfg b/compiler-rt/test/sanitizer_common/lit.common.cfg
index a9309036ed3..b32fb1ba968 100644
--- a/compiler-rt/test/sanitizer_common/lit.common.cfg
+++ b/compiler-rt/test/sanitizer_common/lit.common.cfg
@@ -23,6 +23,9 @@ else:
config.available_features.add(config.tool_name)
+if config.target_arch not in ['arm', 'armhf', 'aarch64']:
+ config.available_features.add('stable-runtime')
+
if config.host_os == 'Darwin':
# On Darwin, we default to `abort_on_error=1`, which would make tests run
# much slower. Let's override this and run lit tests with 'abort_on_error=0'.
OpenPOWER on IntegriCloud