aboutsummaryrefslogtreecommitdiffstats
path: root/test/CMakeLists.txt
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2012-10-10 13:33:00 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2012-10-10 13:33:00 +0000
commit98f01bf34be636b90125f5829f2a5451acb36e52 (patch)
treeec94f52de0e5f0e13ddfd4860c3e3fd906baa822 /test/CMakeLists.txt
parent64835d2ead2c1bbc0a972078abf45b628679f110 (diff)
downloadexternal_llvm-98f01bf34be636b90125f5829f2a5451acb36e52.zip
external_llvm-98f01bf34be636b90125f5829f2a5451acb36e52.tar.gz
external_llvm-98f01bf34be636b90125f5829f2a5451acb36e52.tar.bz2
[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? git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165619 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CMakeLists.txt')
-rw-r--r--test/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index b9b2237..bc226ca 100644
--- a/test/CMakeLists.txt
+++ b/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