[compiler-rt] r245263 - [sanitizer] Move definition of stable-runtime to common lit config.

Evgeniy Stepanov via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 17 18:06:51 PDT 2015


Author: eugenis
Date: Mon Aug 17 20:06:51 2015
New Revision: 245263

URL: http://llvm.org/viewvc/llvm-project?rev=245263&view=rev
Log:
[sanitizer] Move definition of stable-runtime to common lit config.

There are tests in sanitizer_common that are unconditionally disabled
because they REQUIRE: stable-runtime which is never defined.

Modified:
    compiler-rt/trunk/test/asan/lit.cfg
    compiler-rt/trunk/test/lit.common.cfg

Modified: compiler-rt/trunk/test/asan/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/lit.cfg?rev=245263&r1=245262&r2=245263&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/lit.cfg (original)
+++ compiler-rt/trunk/test/asan/lit.cfg Mon Aug 17 20:06:51 2015
@@ -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')

Modified: compiler-rt/trunk/test/lit.common.cfg
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/lit.common.cfg?rev=245263&r1=245262&r2=245263&view=diff
==============================================================================
--- compiler-rt/trunk/test/lit.common.cfg (original)
+++ compiler-rt/trunk/test/lit.common.cfg Mon Aug 17 20:06:51 2015
@@ -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():




More information about the llvm-commits mailing list