summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--compiler-rt/test/asan/lit.cfg5
-rw-r--r--compiler-rt/test/lit.common.cfg5
2 files changed, 5 insertions, 5 deletions
diff --git a/compiler-rt/test/asan/lit.cfg b/compiler-rt/test/asan/lit.cfg
index d3679258fd6..8abb9227de8 100644
--- a/compiler-rt/test/asan/lit.cfg
+++ b/compiler-rt/test/asan/lit.cfg
@@ -164,11 +164,6 @@ elif config.host_os == 'Linux':
config.substitutions.append( ("%dynamiclib", '%T/lib%xdynamiclib_namespec.so') )
config.substitutions.append( ("%xdynamiclib_namespec", '$(basename %t).dynamic') )
-# Allow tests to use REQUIRES=stable-runtime. For use when you cannot use XFAIL
-# because the test hangs.
-if config.target_arch != 'arm' and config.target_arch != 'aarch64':
- config.available_features.add('stable-runtime')
-
# Turn on leak detection on 64-bit Linux.
if config.host_os == 'Linux' and config.target_arch == 'x86_64':
config.available_features.add('leak-detection')
diff --git a/compiler-rt/test/lit.common.cfg b/compiler-rt/test/lit.common.cfg
index 795435048fb..07953609bfd 100644
--- a/compiler-rt/test/lit.common.cfg
+++ b/compiler-rt/test/lit.common.cfg
@@ -111,6 +111,11 @@ if sanitizer_can_use_cxxabi:
if config.has_lld:
config.available_features.add('lld')
+# Allow tests to use REQUIRES=stable-runtime. For use when you cannot use XFAIL
+# because the test hangs.
+if config.target_arch != 'arm' and config.target_arch != 'aarch64':
+ config.available_features.add('stable-runtime')
+
lit.util.usePlatformSdkOnDarwin(config, lit_config)
def is_darwin_lto_supported():
OpenPOWER on IntegriCloud