diff options
-rw-r--r-- | compiler-rt/test/lit.common.cfg | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler-rt/test/lit.common.cfg b/compiler-rt/test/lit.common.cfg index fef250268dd..4137e1c3179 100644 --- a/compiler-rt/test/lit.common.cfg +++ b/compiler-rt/test/lit.common.cfg @@ -91,8 +91,10 @@ config.environment['PATH'] = path if platform.system() == 'Windows' and '-win' in config.target_triple: config.environment['LIB'] = os.environ['LIB'] +config.available_features.add(config.host_os.lower()) + if re.match(r'^x86_64.*-linux', config.target_triple): - config.available_features.add("x86_64-linux") + config.available_features.add("x86_64-linux") # Use ugly construction to explicitly prohibit "clang", "clang++" etc. # in RUN lines. |