summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2019-09-25 17:12:59 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2019-09-25 17:12:59 +0000
commit2660e5585870eae8699b372d381abfacfb405f30 (patch)
treeced40d2d34c4ee6c6128af4ea6b8f2d045bf0ccb
parentf3ab99dcf8afaa2b4617a0c749782a2e664d77a8 (diff)
downloadbcm5719-llvm-2660e5585870eae8699b372d381abfacfb405f30.tar.gz
bcm5719-llvm-2660e5585870eae8699b372d381abfacfb405f30.zip
[CMake] Run the lldb-server tests with system debugserver.
Now that we no longer build debugserver when LLDB_USE_SYSTEM_DEBUGSERVER is set, we have to change the logic for testing lldb-server. llvm-svn: 372900
-rw-r--r--lldb/unittests/tools/lldb-server/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/unittests/tools/lldb-server/CMakeLists.txt b/lldb/unittests/tools/lldb-server/CMakeLists.txt
index 1d8d312c9ce..1a7603077b8 100644
--- a/lldb/unittests/tools/lldb-server/CMakeLists.txt
+++ b/lldb/unittests/tools/lldb-server/CMakeLists.txt
@@ -13,7 +13,7 @@ endfunction()
add_lldb_test_executable(thread_inferior inferior/thread_inferior.cpp)
add_lldb_test_executable(environment_check inferior/environment_check.cpp)
-if(LLDB_CAN_USE_DEBUGSERVER AND LLDB_TOOL_DEBUGSERVER_BUILD)
+if(LLDB_CAN_USE_DEBUGSERVER AND (LLDB_TOOL_DEBUGSERVER_BUILD OR LLDB_USE_SYSTEM_DEBUGSERVER))
if(LLDB_USE_SYSTEM_DEBUGSERVER)
lldb_find_system_debugserver(debugserver_path)
else()
OpenPOWER on IntegriCloud