[Lldb-commits] [lldb] r353978 - [CMake] Make lldb-test-deps a dependency of check-lldb
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Wed Feb 13 12:51:13 PST 2019
Author: jdevlieghere
Date: Wed Feb 13 12:51:13 2019
New Revision: 353978
URL: http://llvm.org/viewvc/llvm-project?rev=353978&view=rev
Log:
[CMake] Make lldb-test-deps a dependency of check-lldb
We have a custom target for lldb's test dependencies but it must have
gotten lost in one of the recent CMake refactorings.
Modified:
lldb/trunk/CMakeLists.txt
lldb/trunk/test/CMakeLists.txt
Modified: lldb/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/CMakeLists.txt?rev=353978&r1=353977&r2=353978&view=diff
==============================================================================
--- lldb/trunk/CMakeLists.txt (original)
+++ lldb/trunk/CMakeLists.txt Wed Feb 13 12:51:13 2019
@@ -128,7 +128,7 @@ if(LLDB_INCLUDE_TESTS)
list(APPEND LLDB_TEST_DEPS dsymutil)
endif()
- add_custom_target(lldb-test-depends DEPENDS ${LLDB_TEST_DEPS})
+ add_custom_target(lldb-test-deps DEPENDS ${LLDB_TEST_DEPS})
add_subdirectory(test)
add_subdirectory(unittests)
Modified: lldb/trunk/test/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/CMakeLists.txt?rev=353978&r1=353977&r2=353978&view=diff
==============================================================================
--- lldb/trunk/test/CMakeLists.txt (original)
+++ lldb/trunk/test/CMakeLists.txt Wed Feb 13 12:51:13 2019
@@ -115,6 +115,9 @@ add_python_test_target(check-lldb-single
# output is desired (i.e. in continuous integration contexts) check-lldb-single is a better target.
add_custom_target(check-lldb)
+# Make check-lldb depend on all test dependencies.
+add_dependencies(check-lldb lldb-test-deps)
+
# If we're building with an in-tree clang, then list clang as a dependency
# to run tests.
if (TARGET clang)
More information about the lldb-commits
mailing list