[clang-tools-extra] r347449 - Move the llvm lit test dependencies to clang-tools-extra.

Haojian Wu via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 22 02:14:55 PST 2018


Author: hokein
Date: Thu Nov 22 02:14:55 2018
New Revision: 347449

URL: http://llvm.org/viewvc/llvm-project?rev=347449&view=rev
Log:
Move the llvm lit test dependencies to clang-tools-extra.

Summary: Part of revert r343473

Reviewers: mgorny

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D54798

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

Modified: clang-tools-extra/trunk/test/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/CMakeLists.txt?rev=347449&r1=347448&r2=347449&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/CMakeLists.txt (original)
+++ clang-tools-extra/trunk/test/CMakeLists.txt Thu Nov 22 02:14:55 2018
@@ -71,6 +71,17 @@ set(CLANGD_TEST_DEPS
   clangd-indexer
   dexp
   )
+
+# Add lit test dependencies.
+set(LLVM_UTILS_DEPS
+  FileCheck count not
+)
+foreach(dep ${LLVM_UTILS_DEPS})
+  if(TARGET ${dep})
+    list(APPEND CLANGD_TEST_DEPS ${dep})
+  endif()
+endforeach()
+
 foreach(clangd_dep ${CLANGD_TEST_DEPS})
   list(APPEND CLANG_TOOLS_TEST_DEPS
        ${clangd_dep})




More information about the cfe-commits mailing list