summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2019-01-17 22:25:20 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2019-01-17 22:25:20 +0000
commit43977e8aa9ab18b80088c4d3732c08b6928b3f96 (patch)
treef6c814af1d072e4ecb29266bb1dd4d1492d27744
parent622ad04625af86b797614efd72f04960431c1cdf (diff)
downloadbcm5719-llvm-43977e8aa9ab18b80088c4d3732c08b6928b3f96.tar.gz
bcm5719-llvm-43977e8aa9ab18b80088c4d3732c08b6928b3f96.zip
[CMake] Fix lldb-test-depends target
The lldb-test-depends target was using the old CMake variable name LLDB_TEST_DEPENDS instead of LLDB_TEST_DEPS. This patch moves the target definition and makes it use the correct one. llvm-svn: 351489
-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