From 02a0ac4ab3817e7b6b21a52976dd1e7d656f02da Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Wed, 10 Oct 2012 13:33:00 +0000 Subject: [PATCH] [CMake] check-all: Don't include check-llvm into check-all without LLVM_BUILD_TOOLS. FIXME: Would you like to run llvm/unittests w/o LLVM_BUILD_TESTS regardless of LLVM_BUILD_TOOLS? llvm-svn: 165619 --- llvm/test/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/llvm/test/CMakeLists.txt b/llvm/test/CMakeLists.txt index b9b2237..bc226ca 100644 --- a/llvm/test/CMakeLists.txt +++ b/llvm/test/CMakeLists.txt @@ -7,6 +7,11 @@ configure_lit_site_cfg( ${CMAKE_CURRENT_BINARY_DIR}/Unit/lit.site.cfg ) +# Don't include check-llvm into check-all without LLVM_BUILD_TOOLS. +if(NOT LLVM_BUILD_TOOLS) + set(EXCLUDE_FROM_ALL ON) +endif() + add_lit_testsuite(check-llvm "Running the LLVM regression tests" ${CMAKE_CURRENT_BINARY_DIR} PARAMS llvm_site_config=${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg -- 2.7.4