llvm.org GIT mirror llvm / 8de7c8d
[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 Don Hinton a month ago
1 changed file(s) with 2 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
4747 # We should standardize on the former.
4848 features.add('system-linker-mach-o')
4949 features.add('system-darwin')
50 if config.enable_shared:
51 features.add("enable_shared")
5052 elif platform.system() == 'Windows':
5153 # For tests that require Windows to run.
5254 features.add('system-windows')