[Lldb-commits] [PATCH] D44473: [dotest] Make llvm-dotest a custom target

Jonas Devlieghere via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Mar 14 08:19:33 PDT 2018


JDevlieghere created this revision.
JDevlieghere added reviewers: davide, labath, zturner.
Herald added subscribers: llvm-commits, mgorny.

This makes llvm-dotest a custom target so you can run `ninja
llvm-dotest` to rebuild whatever is necessary before rerunning the
tests.


Repository:
  rL LLVM

https://reviews.llvm.org/D44473

Files:
  test/CMakeLists.txt


Index: test/CMakeLists.txt
===================================================================
--- test/CMakeLists.txt
+++ test/CMakeLists.txt
@@ -147,6 +147,9 @@
   INPUT
   ${CMAKE_CURRENT_BINARY_DIR}/llvm-dotest.configured
   )
+# Make this a custom target.
+add_custom_target(llvm-dotest)
+add_dependencies(llvm-dotest ${LLDB_TEST_DEPS})
 
 # If we're building with an in-tree clang, then list clang as a dependency
 # to run tests.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44473.138362.patch
Type: text/x-patch
Size: 437 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20180314/b79c0ad3/attachment.bin>


More information about the lldb-commits mailing list