r317931 - Fix for skipped CMake configuration on debuginfo-tests.
Zachary Turner via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 10 14:12:04 PST 2017
Author: zturner
Date: Fri Nov 10 14:12:04 2017
New Revision: 317931
URL: http://llvm.org/viewvc/llvm-project?rev=317931&view=rev
Log:
Fix for skipped CMake configuration on debuginfo-tests.
This should have been part of the change to debuginfo-tests, but
it was left out. This should get the buildbots green.
Modified:
cfe/trunk/test/CMakeLists.txt
Modified: cfe/trunk/test/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CMakeLists.txt?rev=317931&r1=317930&r2=317931&view=diff
==============================================================================
--- cfe/trunk/test/CMakeLists.txt (original)
+++ cfe/trunk/test/CMakeLists.txt Fri Nov 10 14:12:04 2017
@@ -88,6 +88,13 @@ set(CLANG_TEST_PARAMS
clang_site_config=${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg
)
+if (EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/debuginfo-tests/CMakeLists.txt")
+ # This is a hack to keep existing build build infrastructure working while we
+ # can migrate to the new standard workflow of checking out debuginfo-tests into
+ # llvm/projects or using it in a mono-repo
+ add_subdirectory(debuginfo-tests)
+endif()
+
if( NOT CLANG_BUILT_STANDALONE )
list(APPEND CLANG_TEST_DEPS
llvm-config
More information about the cfe-commits
mailing list