projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54d2274
)
[CMake] check-all: Don't include check-llvm into check-all without LLVM_BUILD_TOOLS.
author
NAKAMURA Takumi
<geek4civic@gmail.com>
Wed, 10 Oct 2012 13:33:00 +0000
(13:33 +0000)
committer
NAKAMURA Takumi
<geek4civic@gmail.com>
Wed, 10 Oct 2012 13:33:00 +0000
(13:33 +0000)
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
patch
|
blob
|
history
diff --git
a/llvm/test/CMakeLists.txt
b/llvm/test/CMakeLists.txt
index
b9b2237
..
bc226ca
100644
(file)
--- 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