OSDN Git Service

Revert "[lldb] Re-enable TestPlatformProcessConnect on macos"
authorPavel Labath <pavel@labath.sk>
Wed, 20 Jan 2021 19:49:03 +0000 (20:49 +0100)
committerPavel Labath <pavel@labath.sk>
Wed, 20 Jan 2021 19:49:03 +0000 (20:49 +0100)
This reverts commit 079e664661770a78e30c0d27a12d50047f1b1ea8. It needs
more work.

lldb/packages/Python/lldbsuite/test/tools/lldb-server/lldbgdbserverutils.py
lldb/test/API/tools/lldb-server/platform-process-connect/TestPlatformProcessConnect.py

index d165494..0713610 100644 (file)
@@ -72,6 +72,9 @@ def get_lldb_server_exe():
         A path to the lldb-server exe if it is found to exist; otherwise,
         returns None.
     """
+    if "LLDB_DEBUGSERVER_PATH" in os.environ:
+        return os.environ["LLDB_DEBUGSERVER_PATH"]
+
     return _get_debug_monitor_from_lldb(
         lldbtest_config.lldbExec, "lldb-server")
 
index 3607c49..8ddab26 100644 (file)
@@ -11,6 +11,7 @@ class TestPlatformProcessConnect(gdbremote_testcase.GdbRemoteTestCaseBase):
     @skipIfRemote
     @expectedFailureAll(hostoslist=["windows"], triple='.*-android')
     @skipIfWindows # lldb-server does not terminate correctly
+    @skipIfDarwin # lldb-server not found correctly
     def test_platform_process_connect(self):
         self.build()