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.


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.
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to