From: Zachary Turner Date: Fri, 10 Nov 2017 22:12:04 +0000 (+0000) Subject: Fix for skipped CMake configuration on debuginfo-tests. X-Git-Tag: llvmorg-6.0.0-rc1~3658 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4abbbcc1998fd08a5a3a5bb266914ec1cb12ab2e;p=platform%2Fupstream%2Fllvm.git 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. llvm-svn: 317931 --- diff --git a/clang/test/CMakeLists.txt b/clang/test/CMakeLists.txt index c1ac9e4..e001891 100644 --- a/clang/test/CMakeLists.txt +++ b/clang/test/CMakeLists.txt @@ -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