[Lldb-commits] [lldb] 5a658ee - [lldb][test] Skip some lldb-server tests on Windows

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Wed Sep 4 02:43:27 PDT 2024


Author: David Spickett
Date: 2024-09-04T09:43:18Z
New Revision: 5a658ee933065d0e4ef1a65d9a6ddfba2874ee98

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

LOG: [lldb][test] Skip some lldb-server tests on Windows

These are known to return errors occasionaly on our Windows on Arm
bot.

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/tools/lldb-server/TestGdbRemoteLaunch.py b/lldb/test/API/tools/lldb-server/TestGdbRemoteLaunch.py
index ad84a40932c650..a2ac1fdb6270f4 100644
--- a/lldb/test/API/tools/lldb-server/TestGdbRemoteLaunch.py
+++ b/lldb/test/API/tools/lldb-server/TestGdbRemoteLaunch.py
@@ -58,6 +58,7 @@ def test_launch_via_vRun(self):
         self.assertEqual(context["O_content"], b"arg1\r\narg2\r\narg3\r\n")
 
     @add_test_categories(["llgs"])
+    @skipIfWindows  # Sometimes returns '$E1f'.
     def test_launch_via_vRun_no_args(self):
         self.build()
         server = self.connect_to_debug_monitor()

diff  --git a/lldb/test/API/tools/lldb-server/TestLldbGdbServer.py b/lldb/test/API/tools/lldb-server/TestLldbGdbServer.py
index 93485cd32f5196..592037db502aaf 100644
--- a/lldb/test/API/tools/lldb-server/TestLldbGdbServer.py
+++ b/lldb/test/API/tools/lldb-server/TestLldbGdbServer.py
@@ -468,6 +468,7 @@ def test_Hg_fails_on_zero_pid(self):
         self.Hg_fails_on_pid(0)
 
     @add_test_categories(["llgs"])
+    @skipIfWindows  # Sometimes returns '$E37'.
     def test_Hg_fails_on_minus_one_pid(self):
         self.build()
         self.set_inferior_startup_launch()

diff  --git a/lldb/test/API/tools/lldb-server/TestNonStop.py b/lldb/test/API/tools/lldb-server/TestNonStop.py
index 62bda48ee049be..841de508187977 100644
--- a/lldb/test/API/tools/lldb-server/TestNonStop.py
+++ b/lldb/test/API/tools/lldb-server/TestNonStop.py
@@ -276,6 +276,7 @@ def test_multiple_vCont(self):
         self.expect_gdbremote_sequence()
 
     @add_test_categories(["llgs"])
+    @skipIfWindows  # Sometimes results in '$E37' instead of expected '$OK'
     def test_vCont_then_stop(self):
         self.build()
         self.set_inferior_startup_launch()


        


More information about the lldb-commits mailing list