From f9bea9bc4acf4c412eab4767c31674d0caa60322 Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Wed, 27 May 2020 13:49:15 -0700 Subject: [PATCH] [lldb/Reproducers] Skip & add FIXME to tests failing with unexpected packet. Add skip decorator to tests failing with an unexpected packet during passive replay. --- .../API/commands/expression/unwind_expression/TestUnwindExpression.py | 1 + lldb/test/API/functionalities/gdb_remote_client/TestRestartBug.py | 1 + lldb/test/API/lang/objc/hidden-ivars/TestHiddenIvars.py | 2 ++ 3 files changed, 4 insertions(+) diff --git a/lldb/test/API/commands/expression/unwind_expression/TestUnwindExpression.py b/lldb/test/API/commands/expression/unwind_expression/TestUnwindExpression.py index de883f47f93..3839f7d8923 100644 --- a/lldb/test/API/commands/expression/unwind_expression/TestUnwindExpression.py +++ b/lldb/test/API/commands/expression/unwind_expression/TestUnwindExpression.py @@ -53,6 +53,7 @@ class UnwindFromExpressionTest(TestBase): @add_test_categories(['pyapi']) @expectedFlakeyNetBSD + @skipIfReproducer # FIXME: Unexpected packet during (passive) replay def test_unwind_expression(self): """Test unwinding from an expression.""" self.build_and_run_to_bkpt() diff --git a/lldb/test/API/functionalities/gdb_remote_client/TestRestartBug.py b/lldb/test/API/functionalities/gdb_remote_client/TestRestartBug.py index 142861a37df..f66f5837989 100644 --- a/lldb/test/API/functionalities/gdb_remote_client/TestRestartBug.py +++ b/lldb/test/API/functionalities/gdb_remote_client/TestRestartBug.py @@ -8,6 +8,7 @@ from gdbclientutils import * class TestRestartBug(GDBRemoteTestBase): @expectedFailureAll(bugnumber="llvm.org/pr24530") + @skipIfReproducer # FIXME: Unexpected packet during (passive) replay def test(self): """ Test auto-continue behavior when a process is interrupted to deliver diff --git a/lldb/test/API/lang/objc/hidden-ivars/TestHiddenIvars.py b/lldb/test/API/lang/objc/hidden-ivars/TestHiddenIvars.py index 5930ffdc958..cc3922ccf9f 100644 --- a/lldb/test/API/lang/objc/hidden-ivars/TestHiddenIvars.py +++ b/lldb/test/API/lang/objc/hidden-ivars/TestHiddenIvars.py @@ -30,6 +30,7 @@ class HiddenIvarsTestCase(TestBase): @skipIf( debug_info=no_match("dsym"), bugnumber="This test requires a stripped binary and a dSYM") + @skipIfReproducer # FIXME: Unexpected packet during (passive) replay def test_expr_stripped(self): if self.getArchitecture() == 'i386': self.skipTest("requires modern objc runtime") @@ -38,6 +39,7 @@ class HiddenIvarsTestCase(TestBase): self.expr(True) @skipUnlessDarwin + @skipIfReproducer # FIXME: Unexpected packet during (passive) replay def test_expr(self): if self.getArchitecture() == 'i386': self.skipTest("requires modern objc runtime") -- 2.11.0