[PATCH] D29851: [clang-tools-extra] [test] Fix test dependencies when using installed tools

Michał Górny via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 14 23:07:46 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL297806: [test] Fix test dependencies when using installed tools (authored by mgorny).

Changed prior to commit:
  https://reviews.llvm.org/D29851?vs=88055&id=91824#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D29851

Files:
  clang-tools-extra/trunk/test/CMakeLists.txt


Index: clang-tools-extra/trunk/test/CMakeLists.txt
===================================================================
--- clang-tools-extra/trunk/test/CMakeLists.txt
+++ clang-tools-extra/trunk/test/CMakeLists.txt
@@ -31,9 +31,6 @@
 endif()
 
 set(CLANG_TOOLS_TEST_DEPS
-  # Base line deps.
-  FileCheck count not
-
   # clang-tidy tests require it.
   clang-headers
 
@@ -58,6 +55,13 @@
   ExtraToolsUnitTests
   )
 
+if(NOT LLVM_UTILS_PROVIDED)
+  list(APPEND CLANG_TOOLS_TEST_DEPS
+    # Base line deps.
+    FileCheck count not
+    )
+endif()
+
 add_lit_testsuite(check-clang-tools "Running the Clang extra tools' regression tests"
   ${CMAKE_CURRENT_BINARY_DIR}
   DEPENDS ${CLANG_TOOLS_TEST_DEPS}


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29851.91824.patch
Type: text/x-patch
Size: 705 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170315/936fab35/attachment.bin>


More information about the cfe-commits mailing list