[Lldb-commits] [lldb] [lldb][test] Fix TestLongjmp (PR #185464)
via lldb-commits
lldb-commits at lists.llvm.org
Mon Mar 9 10:19:50 PDT 2026
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-lldb
Author: None (eleviant)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/185464.diff
2 Files Affected:
- (modified) lldb/test/API/functionalities/longjmp/TestLongjmp.py (-3)
- (modified) lldb/test/API/functionalities/longjmp/main.c (+1-1)
``````````diff
diff --git a/lldb/test/API/functionalities/longjmp/TestLongjmp.py b/lldb/test/API/functionalities/longjmp/TestLongjmp.py
index b92a17b05b7f2..cd0e4b122249e 100644
--- a/lldb/test/API/functionalities/longjmp/TestLongjmp.py
+++ b/lldb/test/API/functionalities/longjmp/TestLongjmp.py
@@ -11,7 +11,6 @@
class LongjmpTestCase(TestBase):
@skipIfDarwin # llvm.org/pr16769: LLDB on Mac OS X dies in function ReadRegisterBytes in GDBRemoteRegisterContext.cpp
- @expectedFailureAll(oslist=["freebsd", "linux"], bugnumber="llvm.org/pr20231")
@expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24778")
@expectedFlakeyNetBSD
def test_step_out(self):
@@ -20,7 +19,6 @@ def test_step_out(self):
self.step_out()
@skipIfDarwin # llvm.org/pr16769: LLDB on Mac OS X dies in function ReadRegisterBytes in GDBRemoteRegisterContext.cpp
- @expectedFailureAll(oslist=["freebsd", "linux"], bugnumber="llvm.org/pr20231")
@expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24778")
@skipIfNetBSD
def test_step_over(self):
@@ -29,7 +27,6 @@ def test_step_over(self):
self.step_over()
@skipIfDarwin # llvm.org/pr16769: LLDB on Mac OS X dies in function ReadRegisterBytes in GDBRemoteRegisterContext.cpp
- @expectedFailureAll(oslist=["freebsd", "linux"], bugnumber="llvm.org/pr20231")
@expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24778")
@expectedFlakeyNetBSD
def test_step_back_out(self):
diff --git a/lldb/test/API/functionalities/longjmp/main.c b/lldb/test/API/functionalities/longjmp/main.c
index d241dd022a88e..d6a2d238bd4ce 100644
--- a/lldb/test/API/functionalities/longjmp/main.c
+++ b/lldb/test/API/functionalities/longjmp/main.c
@@ -8,7 +8,7 @@ void do_jump(void)
{
// We can't let the compiler know this will always happen or it might make
// optimizations that break our test.
- if (!clock())
+ if (clock())
longjmp(j, 1); // non-local goto
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/185464
More information about the lldb-commits
mailing list