summaryrefslogtreecommitdiff
path: root/test/lit.cfg.py
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2017-10-18 19:37:30 +0000
committerSam Clegg <sbc@chromium.org>2017-10-18 19:37:30 +0000
commit88d22be42ce67c9c1a54981a23e7869c3279c3cb (patch)
tree881f6b4881de21a41c36f64ea4b555edd90a4d93 /test/lit.cfg.py
parent4a5c81f50fa0d545a499b1fa12e7feefbf6f9976 (diff)
Don't set static-libs test feature when using LLVM_LINK_LLVM_DYLIB
This was causing execname-options.ll to fail on the wasm waterfall. Differential Revision: https://reviews.llvm.org/D39022 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316123 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/lit.cfg.py')
-rw-r--r--test/lit.cfg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lit.cfg.py b/test/lit.cfg.py
index 7b935c19558..6a5cf69b987 100644
--- a/test/lit.cfg.py
+++ b/test/lit.cfg.py
@@ -185,7 +185,7 @@ if loadable_module:
config.available_features.add('loadable_module')
# Static libraries are not built if BUILD_SHARED_LIBS is ON.
-if not config.build_shared_libs:
+if not config.build_shared_libs and not config.link_llvm_dylib:
config.available_features.add('static-libs')
# Direct object generation