summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/CMakeLists.txt2
-rw-r--r--lldb/test/CMakeLists.txt1
2 files changed, 2 insertions, 1 deletions
diff --git a/lldb/CMakeLists.txt b/lldb/CMakeLists.txt
index cdf22c4b0fc..fdd84a6e7b7 100644
--- a/lldb/CMakeLists.txt
+++ b/lldb/CMakeLists.txt
@@ -120,6 +120,8 @@ if(LLDB_INCLUDE_TESTS)
list(APPEND LLDB_TEST_DEPS dsymutil)
endif()
+ add_custom_target(lldb-test-depends DEPENDS ${LLDB_TEST_DEPS})
+
add_subdirectory(test)
add_subdirectory(unittests)
add_subdirectory(lit)
diff --git a/lldb/test/CMakeLists.txt b/lldb/test/CMakeLists.txt
index 71a76c2d93d..c42d66cf7c2 100644
--- a/lldb/test/CMakeLists.txt
+++ b/lldb/test/CMakeLists.txt
@@ -133,7 +133,6 @@ endif ()
# Run the lit-style tests and the unittests as part of the check-lldb target.
add_dependencies(check-lldb check-lldb-lit)
-add_custom_target(lldb-test-depends DEPENDS ${LLDB_TEST_DEPENDS})
# This will add LLDB's test dependencies to the dependencies for check-all and
# include them in the test-depends target.
set_property(GLOBAL APPEND PROPERTY LLVM_LIT_DEPENDS ${ARG_DEPENDS})
OpenPOWER on IntegriCloud