[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
This commit is contained in:
Raphael Isemann 2021-03-11 14:34:20 +01:00
parent 807466ef28
commit aada8984e6

View File

@ -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()