[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.

llvm-svn: 353978
This commit is contained in:
Jonas Devlieghere 2019-02-13 20:51:13 +00:00
parent 41f400c948
commit 201a40c568
2 changed files with 4 additions and 1 deletions

View File

@ -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)

View File

@ -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)