summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/functionalities/longjmp
diff options
context:
space:
mode:
authorMichal Gorny <mgorny@gentoo.org>2019-03-04 16:54:06 +0000
committerMichal Gorny <mgorny@gentoo.org>2019-03-04 16:54:06 +0000
commitde11105d2ece076e9d8dcfb01286643e81af8922 (patch)
treef86ceffdc68f59f5666d5681d1ecd83640d28425 /lldb/packages/Python/lldbsuite/test/functionalities/longjmp
parent502ba11583b2f183ca98dd6f98f496f1a5e9fda4 (diff)
downloadbcm5719-llvm-de11105d2ece076e9d8dcfb01286643e81af8922.tar.gz
bcm5719-llvm-de11105d2ece076e9d8dcfb01286643e81af8922.zip
[lldb] [test] Mark failing tests XFAIL on NetBSD
Add a convenience 'expectedFailureNetBSD' decorator and mark all tests currently failing on NetBSD with it. Also skip a few tests that hang the test suite. This should establish a baseline for the test suite and get us closer to enabling tests on buildbot. This will help us catch regressions while we still have a lot of work to do to get tests working. It seems that there are also some flaky tests. I am going to address them later on. Differential Revision: https://reviews.llvm.org/D58527 llvm-svn: 355320
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/longjmp')
-rw-r--r--lldb/packages/Python/lldbsuite/test/functionalities/longjmp/TestLongjmp.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/longjmp/TestLongjmp.py b/lldb/packages/Python/lldbsuite/test/functionalities/longjmp/TestLongjmp.py
index db855f6302d..5eb75a92323 100644
--- a/lldb/packages/Python/lldbsuite/test/functionalities/longjmp/TestLongjmp.py
+++ b/lldb/packages/Python/lldbsuite/test/functionalities/longjmp/TestLongjmp.py
@@ -23,6 +23,7 @@ class LongjmpTestCase(TestBase):
@skipIfFreeBSD # llvm.org/pr17214
@expectedFailureAll(oslist=["linux"], bugnumber="llvm.org/pr20231")
@expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24778")
+ @expectedFailureNetBSD
def test_step_out(self):
"""Test stepping when the inferior calls setjmp/longjmp, in particular, thread step-out."""
self.build()
@@ -32,6 +33,7 @@ class LongjmpTestCase(TestBase):
@skipIfFreeBSD # llvm.org/pr17214
@expectedFailureAll(oslist=["linux"], bugnumber="llvm.org/pr20231")
@expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24778")
+ @expectedFailureNetBSD
def test_step_over(self):
"""Test stepping when the inferior calls setjmp/longjmp, in particular, thread step-over a longjmp."""
self.build()
@@ -41,6 +43,7 @@ class LongjmpTestCase(TestBase):
@skipIfFreeBSD # llvm.org/pr17214
@expectedFailureAll(oslist=["linux"], bugnumber="llvm.org/pr20231")
@expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24778")
+ @expectedFailureNetBSD
def test_step_back_out(self):
"""Test stepping when the inferior calls setjmp/longjmp, in particular, thread step-out after thread step-in."""
self.build()
OpenPOWER on IntegriCloud