diff options
author | Michal Gorny <mgorny@gentoo.org> | 2019-03-04 16:54:06 +0000 |
---|---|---|
committer | Michal Gorny <mgorny@gentoo.org> | 2019-03-04 16:54:06 +0000 |
commit | de11105d2ece076e9d8dcfb01286643e81af8922 (patch) | |
tree | f86ceffdc68f59f5666d5681d1ecd83640d28425 /lldb/packages/Python/lldbsuite/test/python_api/lldbutil | |
parent | 502ba11583b2f183ca98dd6f98f496f1a5e9fda4 (diff) | |
download | bcm5719-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/python_api/lldbutil')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/python_api/lldbutil/iter/TestLLDBIterator.py | 1 | ||||
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/python_api/lldbutil/process/TestPrintStackTraces.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/iter/TestLLDBIterator.py b/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/iter/TestLLDBIterator.py index 6816b0d1ee9..a52b00e5fac 100644 --- a/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/iter/TestLLDBIterator.py +++ b/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/iter/TestLLDBIterator.py @@ -94,6 +94,7 @@ class LLDBIteratorTestCase(TestBase): self.assertTrue(yours[i] == mine[i], "ID of yours[{0}] and mine[{0}] matches".format(i)) + @expectedFailureNetBSD @add_test_categories(['pyapi']) def test_lldb_iter_frame(self): """Test iterator works correctly for SBProcess->SBThread->SBFrame.""" diff --git a/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/process/TestPrintStackTraces.py b/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/process/TestPrintStackTraces.py index dcdade25d46..0e3d67ecb88 100644 --- a/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/process/TestPrintStackTraces.py +++ b/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/process/TestPrintStackTraces.py @@ -33,6 +33,7 @@ class ThreadsStackTracesTestCase(TestBase): @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24778") @expectedFlakeyAndroid("llvm.org/26492", archs=["arm"]) @expectedFlakeyLinux("llvm.org/pr27687") + @expectedFailureNetBSD @add_test_categories(['pyapi']) def test_stack_traces(self): """Test SBprocess and SBThread APIs with printing of the stack traces.""" |