[PATCH] D61697: [lit] Disable test on darwin when building shared libs.
Phabricator via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 13 12:08:05 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL363298: [lit] Disable test on darwin when building shared libs. (authored by dhinton, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D61697?vs=198720&id=204602#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D61697/new/
https://reviews.llvm.org/D61697
Files:
cfe/trunk/test/Tooling/clang-check-mac-libcxx-fixed-compilation-db.cpp
llvm/trunk/utils/lit/lit/llvm/config.py
Index: llvm/trunk/utils/lit/lit/llvm/config.py
===================================================================
--- llvm/trunk/utils/lit/lit/llvm/config.py
+++ llvm/trunk/utils/lit/lit/llvm/config.py
@@ -48,6 +48,8 @@
# We should standardize on the former.
features.add('system-linker-mach-o')
features.add('system-darwin')
+ if config.enable_shared:
+ features.add("enable_shared")
elif platform.system() == 'Windows':
# For tests that require Windows to run.
features.add('system-windows')
Index: cfe/trunk/test/Tooling/clang-check-mac-libcxx-fixed-compilation-db.cpp
===================================================================
--- cfe/trunk/test/Tooling/clang-check-mac-libcxx-fixed-compilation-db.cpp
+++ cfe/trunk/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;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61697.204602.patch
Type: text/x-patch
Size: 1106 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190613/969a034a/attachment.bin>
More information about the llvm-commits
mailing list