]> granicus.if.org Git - clang/commitdiff
[lit] Disable test on darwin when building shared libs.
authorDon Hinton <hintonda@gmail.com>
Thu, 13 Jun 2019 19:08:49 +0000 (19:08 +0000)
committerDon Hinton <hintonda@gmail.com>
Thu, 13 Jun 2019 19:08:49 +0000 (19:08 +0000)
Summary:
This test fails to link shared libraries because tries to run
a copied version of clang-check to see if the mock version of libcxx
in the same directory can be loaded dynamically.  Since the test is
specifically designed not to look in the default just-built lib
directory, it must be disabled when building with
BUILD_SHARED_LIBS=ON.

Currently only disabling it on Darwin and basing it on the
enable_shared flag.

Reviewed By: ilya-biryukov

Tags: #clang, #llvm

Differential Revision: https://reviews.llvm.org/D61697

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@363298 91177308-0d34-0410-b5e6-96231b3b80d8

test/Tooling/clang-check-mac-libcxx-fixed-compilation-db.cpp

index f6424380d719322ad140a1bb8cee424dde53888f..26a6a8ad6e9447cae73ace066fb8c19b0997cf59 100644 (file)
@@ -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;