]> granicus.if.org Git - llvm/commit
[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)
commit8de7c8d60d41e0e8a846cf2181f890e663ad2504
tree51459fea18c756fd8365c31d389fb8ad6285d1aa
parent565486f4164fb645b38ad9cce9633011e6198030
[lit] Disable test on darwin when building shared libs.

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/llvm/trunk@363298 91177308-0d34-0410-b5e6-96231b3b80d8
utils/lit/lit/llvm/config.py