[Lldb-commits] [lldb] aada898 - [lldb] Add missing debugserver dependency to check-lldb

Raphael Isemann via lldb-commits lldb-commits at lists.llvm.org
Thu Mar 11 06:56:11 PST 2021


Author: Raphael Isemann
Date: 2021-03-11T15:55:43+01:00
New Revision: aada8984e617058bfc9aa1f879d584ad04d2e7df

URL: https://github.com/llvm/llvm-project/commit/aada8984e617058bfc9aa1f879d584ad04d2e7df
DIFF: https://github.com/llvm/llvm-project/commit/aada8984e617058bfc9aa1f879d584ad04d2e7df.diff

LOG: [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

Added: 
    

Modified: 
    lldb/test/CMakeLists.txt

Removed: 
    


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


        


More information about the lldb-commits mailing list