diff options
| author | Jonas Devlieghere <jonas@devlieghere.com> | 2019-02-13 20:51:13 +0000 |
|---|---|---|
| committer | Jonas Devlieghere <jonas@devlieghere.com> | 2019-02-13 20:51:13 +0000 |
| commit | 201a40c5680c62da16a142ef8f9b8f70ba86a16c (patch) | |
| tree | 0a2c1c40170d792783b42d31dd9c9d2b20ed6b9f | |
| parent | 41f400c948febc287395499f5dd4a642900759a3 (diff) | |
| download | bcm5719-llvm-201a40c5680c62da16a142ef8f9b8f70ba86a16c.tar.gz bcm5719-llvm-201a40c5680c62da16a142ef8f9b8f70ba86a16c.zip | |
[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
| -rw-r--r-- | lldb/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | lldb/test/CMakeLists.txt | 3 |
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) |

