[Lldb-commits] [lldb] r355579 - Skip TestGdbserverPort.test on Windows

Jan Kratochvil via lldb-commits lldb-commits at lists.llvm.org
Wed Mar 6 19:41:00 PST 2019


Author: jankratochvil
Date: Wed Mar  6 19:41:00 2019
New Revision: 355579

URL: http://llvm.org/viewvc/llvm-project?rev=355579&view=rev
Log:
Skip TestGdbserverPort.test on Windows

lldb/cmake/modules/LLDBConfig.cmake does not build lldb-server on Windows:
if (CMAKE_SYSTEM_NAME MATCHES "Android|Darwin|FreeBSD|Linux|NetBSD")
    set(LLDB_CAN_USE_LLDB_SERVER 1)

Also do not append 'platform' parameter twice - although that was quietly
ignored.

Modified:
    lldb/trunk/lit/tools/lldb-server/TestGdbserverPort.test

Modified: lldb/trunk/lit/tools/lldb-server/TestGdbserverPort.test
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/lit/tools/lldb-server/TestGdbserverPort.test?rev=355579&r1=355578&r2=355579&view=diff
==============================================================================
--- lldb/trunk/lit/tools/lldb-server/TestGdbserverPort.test (original)
+++ lldb/trunk/lit/tools/lldb-server/TestGdbserverPort.test Wed Mar  6 19:41:00 2019
@@ -1,2 +1,4 @@
-# RUN: %platformserver p --server --listen :1234 --min-gdbserver-port 1234 --max-gdbserver-port 1234 2>&1 | FileCheck %s
+# Windows does not build lldb-server.
+# UNSUPPORTED: system-windows
+# RUN: %platformserver --server --listen :1234 --min-gdbserver-port 1234 --max-gdbserver-port 1234 2>&1 | FileCheck %s
 # CHECK: error: --min-gdbserver-port (1234) is not lower than --max-gdbserver-port (1234)




More information about the lldb-commits mailing list