summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDon Hinton <hintonda@gmail.com>2019-06-15 20:09:54 +0000
committerDon Hinton <hintonda@gmail.com>2019-06-15 20:09:54 +0000
commit0a29028072fd6c86f25d3892b3b97dc24bed8be4 (patch)
tree77cf9c278d900aacc0f4dce67a1a58774722c93c
parent456ca5d7f703afff03c3986745438f7b7100e0f0 (diff)
downloadbcm5719-llvm-0a29028072fd6c86f25d3892b3b97dc24bed8be4.tar.gz
bcm5719-llvm-0a29028072fd6c86f25d3892b3b97dc24bed8be4.zip
Recommit r363298 "[lit] Disable test on darwin when building shared libs."
Was reverted in r363379 due to build breakage. Thanks to Nico Weber for reverting the original and suggesting the fix. Please see https://reviews.llvm.org/D61697 llvm-svn: 363502
-rw-r--r--clang/test/Tooling/clang-check-mac-libcxx-fixed-compilation-db.cpp2
-rw-r--r--clang/test/lit.cfg.py3
2 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/Tooling/clang-check-mac-libcxx-fixed-compilation-db.cpp b/clang/test/Tooling/clang-check-mac-libcxx-fixed-compilation-db.cpp
index f6424380d71..26a6a8ad6e9 100644
--- a/clang/test/Tooling/clang-check-mac-libcxx-fixed-compilation-db.cpp
+++ b/clang/test/Tooling/clang-check-mac-libcxx-fixed-compilation-db.cpp
@@ -16,5 +16,7 @@
//
// ^ -ccc-install-dir passed to unbreak tests on *BSD where
// getMainExecutable() relies on real argv[0] being passed
+//
+// UNSUPPORTED: enable_shared
#include <mock_vector>
vector v;
diff --git a/clang/test/lit.cfg.py b/clang/test/lit.cfg.py
index c66ed9c08ab..465b227d091 100644
--- a/clang/test/lit.cfg.py
+++ b/clang/test/lit.cfg.py
@@ -183,3 +183,6 @@ if macOSSDKVersion is not None:
if os.path.exists('/etc/gentoo-release'):
config.available_features.add('gentoo')
+
+if config.enable_shared:
+ config.available_features.add("enable_shared")
OpenPOWER on IntegriCloud