summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/CMakeLists.txt2
-rw-r--r--lldb/test/CMakeLists.txt3
2 files changed, 4 insertions, 1 deletions
diff --git a/lldb/CMakeLists.txt b/lldb/CMakeLists.txt
index 8e3968a8b25..7c8ec2ffd3b 100644
--- a/lldb/CMakeLists.txt
+++ b/lldb/CMakeLists.txt
@@ -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)
diff --git a/lldb/test/CMakeLists.txt b/lldb/test/CMakeLists.txt
index c42d66cf7c2..72f1c234b29 100644
--- a/lldb/test/CMakeLists.txt
+++ b/lldb/test/CMakeLists.txt
@@ -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)
OpenPOWER on IntegriCloud