[lldb] [test] Mark frequently failing flaky tests skipped on NetBSD
authorMichal Gorny <mgorny@gentoo.org>
Wed, 15 May 2019 12:13:20 +0000 (12:13 +0000)
committerMichal Gorny <mgorny@gentoo.org>
Wed, 15 May 2019 12:13:20 +0000 (12:13 +0000)
llvm-svn: 360767

lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_set_restart/TestBreakpointSetRestart.py
lldb/packages/Python/lldbsuite/test/functionalities/longjmp/TestLongjmp.py
lldb/packages/Python/lldbsuite/test/functionalities/watchpoint/multiple_threads/TestWatchpointMultipleThreads.py
lldb/packages/Python/lldbsuite/test/python_api/event/TestEvents.py

index cf524da..f784e68 100644 (file)
@@ -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()
 
index 9470f5f..09eac71 100644 (file)
@@ -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()
index 667ed56..40f1800 100644 (file)
@@ -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")
index c4634ce..82e8f8e 100644 (file)
@@ -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()