From 9c7188a08a929832177505a3d2f9571f69ee5e40 Mon Sep 17 00:00:00 2001 From: Michal Gorny Date: Wed, 15 May 2019 12:13:20 +0000 Subject: [PATCH] [lldb] [test] Mark frequently failing flaky tests skipped on NetBSD llvm-svn: 360767 --- .../breakpoint/breakpoint_set_restart/TestBreakpointSetRestart.py | 2 +- .../Python/lldbsuite/test/functionalities/longjmp/TestLongjmp.py | 2 +- .../watchpoint/multiple_threads/TestWatchpointMultipleThreads.py | 4 ++-- lldb/packages/Python/lldbsuite/test/python_api/event/TestEvents.py | 2 ++ 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_set_restart/TestBreakpointSetRestart.py b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_set_restart/TestBreakpointSetRestart.py index cf524da..f784e68 100644 --- a/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_set_restart/TestBreakpointSetRestart.py +++ b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_set_restart/TestBreakpointSetRestart.py @@ -13,7 +13,7 @@ class BreakpointSetRestart(TestBase): mydir = TestBase.compute_mydir(__file__) BREAKPOINT_TEXT = 'Set a breakpoint here' - @expectedFlakeyNetBSD + @skipIfNetBSD def test_breakpoint_set_restart(self): self.build() diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/longjmp/TestLongjmp.py b/lldb/packages/Python/lldbsuite/test/functionalities/longjmp/TestLongjmp.py index 9470f5f..09eac71 100644 --- a/lldb/packages/Python/lldbsuite/test/functionalities/longjmp/TestLongjmp.py +++ b/lldb/packages/Python/lldbsuite/test/functionalities/longjmp/TestLongjmp.py @@ -33,7 +33,7 @@ class LongjmpTestCase(TestBase): @skipIfFreeBSD # llvm.org/pr17214 @expectedFailureAll(oslist=["linux"], bugnumber="llvm.org/pr20231") @expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24778") - @expectedFlakeyNetBSD + @skipIfNetBSD def test_step_over(self): """Test stepping when the inferior calls setjmp/longjmp, in particular, thread step-over a longjmp.""" self.build() diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/multiple_threads/TestWatchpointMultipleThreads.py b/lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/multiple_threads/TestWatchpointMultipleThreads.py index 667ed56..40f1800 100644 --- a/lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/multiple_threads/TestWatchpointMultipleThreads.py +++ b/lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/multiple_threads/TestWatchpointMultipleThreads.py @@ -23,7 +23,7 @@ class WatchpointForMultipleThreadsTestCase(TestBase): @expectedFailureAll( oslist=["windows"], bugnumber="llvm.org/pr24446: WINDOWS XFAIL TRIAGE - Watchpoints not supported on Windows") - @expectedFailureNetBSD + @skipIfNetBSD def test_watchpoint_before_thread_start(self): """Test that we can hit a watchpoint we set before starting another thread""" self.do_watchpoint_test("Before running the thread") @@ -31,7 +31,7 @@ class WatchpointForMultipleThreadsTestCase(TestBase): @expectedFailureAll( oslist=["windows"], bugnumber="llvm.org/pr24446: WINDOWS XFAIL TRIAGE - Watchpoints not supported on Windows") - @expectedFailureNetBSD + @skipIfNetBSD def test_watchpoint_after_thread_start(self): """Test that we can hit a watchpoint we set after starting another thread""" self.do_watchpoint_test("After running the thread") diff --git a/lldb/packages/Python/lldbsuite/test/python_api/event/TestEvents.py b/lldb/packages/Python/lldbsuite/test/python_api/event/TestEvents.py index c4634ce..82e8f8e 100644 --- a/lldb/packages/Python/lldbsuite/test/python_api/event/TestEvents.py +++ b/lldb/packages/Python/lldbsuite/test/python_api/event/TestEvents.py @@ -32,6 +32,7 @@ class EventAPITestCase(TestBase): oslist=["linux"], bugnumber="llvm.org/pr23730 Flaky, fails ~1/10 cases") @skipIfWindows # This is flakey on Windows AND when it fails, it hangs: llvm.org/pr38373 + @skipIfNetBSD def test_listen_for_and_print_event(self): """Exercise SBEvent API.""" self.build() @@ -121,6 +122,7 @@ class EventAPITestCase(TestBase): @add_test_categories(['pyapi']) @expectedFlakeyLinux("llvm.org/pr23730") # Flaky, fails ~1/100 cases @skipIfWindows # This is flakey on Windows AND when it fails, it hangs: llvm.org/pr38373 + @skipIfNetBSD def test_wait_for_event(self): """Exercise SBListener.WaitForEvent() API.""" self.build() -- 2.7.4