summaryrefslogtreecommitdiffstats
path: root/lld/test/lit.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'lld/test/lit.cfg')
-rw-r--r--lld/test/lit.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/test/lit.cfg b/lld/test/lit.cfg
index 54f08f4da2e..5a994e13045 100644
--- a/lld/test/lit.cfg
+++ b/lld/test/lit.cfg
@@ -188,7 +188,7 @@ if lit_config.useValgrind:
config.target_triple += '-vg'
# Shell execution
-if platform.system() not in ['Windows'] or lit_config.getBashPath() != '':
+if execute_external:
config.available_features.add('shell')
# Running on Darwin OS
OpenPOWER on IntegriCloud