[Lldb-commits] [lldb] [lldb][tests] Skip flaky TestLongjmp test on Windows (PR #186199)

via lldb-commits lldb-commits at lists.llvm.org
Thu Mar 12 10:52:09 PDT 2026


https://github.com/eleviant created https://github.com/llvm/llvm-project/pull/186199

None

>From bbcdcc56610f31cb825adc04c9f13d8283d3af76 Mon Sep 17 00:00:00 2001
From: Evgeny Leviant <eleviant at accesssoftek.com>
Date: Thu, 12 Mar 2026 18:50:24 +0100
Subject: [PATCH] [lldb][tests] Skip flaky TestLongjmp test on Windows

---
 lldb/test/API/functionalities/longjmp/TestLongjmp.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lldb/test/API/functionalities/longjmp/TestLongjmp.py b/lldb/test/API/functionalities/longjmp/TestLongjmp.py
index dcda276795b12..8a856f34a004f 100644
--- a/lldb/test/API/functionalities/longjmp/TestLongjmp.py
+++ b/lldb/test/API/functionalities/longjmp/TestLongjmp.py
@@ -11,6 +11,7 @@
 
 class LongjmpTestCase(TestBase):
     @skipIfDarwin  # llvm.org/pr16769: LLDB on Mac OS X dies in function ReadRegisterBytes in GDBRemoteRegisterContext.cpp
+    @skipIfWindows # Test is flaky on Windows
     @expectedFlakeyNetBSD
     def test_step_out(self):
         """Test stepping when the inferior calls setjmp/longjmp, in particular, thread step-out."""
@@ -18,6 +19,7 @@ def test_step_out(self):
         self.step_out()
 
     @skipIfDarwin  # llvm.org/pr16769: LLDB on Mac OS X dies in function ReadRegisterBytes in GDBRemoteRegisterContext.cpp
+    @skipIfWindows # Test is flaky on Windows
     @skipIfNetBSD
     def test_step_over(self):
         """Test stepping when the inferior calls setjmp/longjmp, in particular, thread step-over a longjmp."""
@@ -25,6 +27,7 @@ def test_step_over(self):
         self.step_over()
 
     @skipIfDarwin  # llvm.org/pr16769: LLDB on Mac OS X dies in function ReadRegisterBytes in GDBRemoteRegisterContext.cpp
+    @skipIfWindows # Test is flaky on Windows
     @expectedFlakeyNetBSD
     def test_step_back_out(self):
         """Test stepping when the inferior calls setjmp/longjmp, in particular, thread step-out after thread step-in."""



More information about the lldb-commits mailing list