From aada8984e617058bfc9aa1f879d584ad04d2e7df Mon Sep 17 00:00:00 2001 From: Raphael Isemann Date: Thu, 11 Mar 2021 14:34:20 +0100 Subject: [PATCH] [lldb] Add missing debugserver dependency to check-lldb D96202 removes the test dependency on debugserver which is causing a bunch of tests to fail on a clean build. This patch re-adds the dependency. I decided to not add the dependency in the `test/API` folder as we actually need it in all kinds of tests (we have shell, API and a few unit tests such as the LLDBServerTests that depend on the debugserver binary). lldb-server is also handled in the same way. Reviewed By: JDevlieghere, labath Differential Revision: https://reviews.llvm.org/D98196 --- lldb/test/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lldb/test/CMakeLists.txt b/lldb/test/CMakeLists.txt index 34fc377e0e20..9944e37a46fc 100644 --- a/lldb/test/CMakeLists.txt +++ b/lldb/test/CMakeLists.txt @@ -49,6 +49,9 @@ if (CMAKE_SYSTEM_NAME MATCHES "Darwin") add_lldb_test_dependency(darwin-debug) endif() +if(TARGET debugserver) + add_lldb_test_dependency(debugserver) +endif() if(TARGET lldb-server) add_lldb_test_dependency(lldb-server) endif()