[Lldb-commits] [lldb] 80c04c6 - [lldb] [llgs] Attempt to fix LLGS tests on Windows

Michał Górny via lldb-commits lldb-commits at lists.llvm.org
Tue Jun 21 11:12:12 PDT 2022


Author: Michał Górny
Date: 2022-06-21T20:12:07+02:00
New Revision: 80c04c664a2a1900c5fdbf88c2c11e3f4f4ebf71

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

LOG: [lldb] [llgs] Attempt to fix LLGS tests on Windows

Sponsored by: The FreeBSD Foundation

Added: 
    

Modified: 
    lldb/test/API/tools/lldb-server/TestNonStop.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/tools/lldb-server/TestNonStop.py b/lldb/test/API/tools/lldb-server/TestNonStop.py
index f2647995a778..2317d7061112 100644
--- a/lldb/test/API/tools/lldb-server/TestNonStop.py
+++ b/lldb/test/API/tools/lldb-server/TestNonStop.py
@@ -1,3 +1,4 @@
+from lldbsuite.test.decorators import *
 from lldbsuite.test.lldbtest import *
 
 import gdbremote_testcase
@@ -7,6 +8,7 @@ class LldbGdbServerTestCase(gdbremote_testcase.GdbRemoteTestCaseBase):
 
     mydir = TestBase.compute_mydir(__file__)
 
+    @skipIfWindows  # no SIGSEGV support
     def test_run(self):
         self.build()
         self.set_inferior_startup_launch()
@@ -127,7 +129,7 @@ def test_vCtrlC(self):
              "read packet: $vCtrlC#00",
              "send packet: $OK#00",
              {"direction": "send",
-              "regex": r"^%Stop:T13",
+              "regex": r"^%Stop:T",
               },
              ], True)
         self.expect_gdbremote_sequence()
@@ -147,6 +149,7 @@ def test_exit(self):
              ], True)
         self.expect_gdbremote_sequence()
 
+    @skipIfWindows  # no clue, the result makes zero sense
     def test_exit_query(self):
         self.build()
         self.set_inferior_startup_launch()


        


More information about the lldb-commits mailing list