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:
8661653
)
clang-tools-extra/test/CMakeLists.txt: Rework r297806 (D29851) to make sure test...
author
NAKAMURA Takumi
<geek4civic@gmail.com>
Sun, 30 Apr 2017 03:19:04 +0000
(
03:19
+0000)
committer
NAKAMURA Takumi
<geek4civic@gmail.com>
Sun, 30 Apr 2017 03:19:04 +0000
(
03:19
+0000)
FIXME: This may be moved to llvm's add_lit_target().
llvm-svn: 301762
clang-tools-extra/test/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/clang-tools-extra/test/CMakeLists.txt
b/clang-tools-extra/test/CMakeLists.txt
index c26bd5c487f1f2287fb60f1610c80887649cdd05..be652e34f96ee188cc0c08d6c4c34bac05176a1c 100644
(file)
--- a/
clang-tools-extra/test/CMakeLists.txt
+++ b/
clang-tools-extra/test/CMakeLists.txt
@@
-55,12
+55,15
@@
set(CLANG_TOOLS_TEST_DEPS
ExtraToolsUnitTests
)
-if(NOT LLVM_UTILS_PROVIDED)
- list(APPEND CLANG_TOOLS_TEST_DEPS
- # Base line deps.
- FileCheck count not
- )
-endif()
+set(llvm_utils
+ FileCheck count not
+ )
+
+foreach(t ${llvm_utils})
+ if(TARGET ${t})
+ list(APPEND CLANG_TOOLS_TEST_DEPS ${t})
+ endif()
+endforeach()
add_lit_testsuite(check-clang-tools "Running the Clang extra tools' regression tests"
${CMAKE_CURRENT_BINARY_DIR}