[lldb] Skip the flakey part of TestStopHookScripted on Linux
authorRaphael Isemann <teemperor@gmail.com>
Thu, 1 Oct 2020 12:23:45 +0000 (14:23 +0200)
committerRaphael Isemann <teemperor@gmail.com>
Thu, 1 Oct 2020 12:24:38 +0000 (14:24 +0200)
This test seems to randomly fail on Linux machines. It's only one part of the
test failing randomly, so let's just skip it instead of reverting the whole
patch (again).

lldb/test/API/commands/target/stop-hooks/TestStopHookScripted.py

index e650778..a17f713 100644 (file)
@@ -71,6 +71,8 @@ class TestStopHooks(TestBase):
         """Test that the returning False from a stop hook works"""
         self.do_test_auto_continue(True)
 
+    # Test is flakey on Linux.
+    @skipIfLinux
     def do_test_auto_continue(self, return_true):
         """Test that auto-continue works."""
         # We set auto-continue to 1 but the stop hook only applies to step_out_of_me,