[Lldb-commits] [lldb] b272250 - [lldb] Skip the flakey part of TestStopHookScripted on Linux
Raphael Isemann via lldb-commits
lldb-commits at lists.llvm.org
Thu Oct 1 05:25:01 PDT 2020
Author: Raphael Isemann
Date: 2020-10-01T14:24:38+02:00
New Revision: b272250221595b14c32db6721a0ae4e5f17ea4d2
URL: https://github.com/llvm/llvm-project/commit/b272250221595b14c32db6721a0ae4e5f17ea4d2
DIFF: https://github.com/llvm/llvm-project/commit/b272250221595b14c32db6721a0ae4e5f17ea4d2.diff
LOG: [lldb] Skip the flakey part of TestStopHookScripted on Linux
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).
Added:
Modified:
lldb/test/API/commands/target/stop-hooks/TestStopHookScripted.py
Removed:
################################################################################
diff --git a/lldb/test/API/commands/target/stop-hooks/TestStopHookScripted.py b/lldb/test/API/commands/target/stop-hooks/TestStopHookScripted.py
index e650778fe8e3..a17f7131d20f 100644
--- a/lldb/test/API/commands/target/stop-hooks/TestStopHookScripted.py
+++ b/lldb/test/API/commands/target/stop-hooks/TestStopHookScripted.py
@@ -71,6 +71,8 @@ def test_stop_hooks_scripted_return_false(self):
"""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,
More information about the lldb-commits
mailing list