OSDN Git Service

[lldb/Reproducers] Skip & add FIXME to tests failing with unexpected packet.
authorJonas Devlieghere <jonas@devlieghere.com>
Wed, 27 May 2020 20:49:15 +0000 (13:49 -0700)
committerJonas Devlieghere <jonas@devlieghere.com>
Wed, 27 May 2020 20:52:48 +0000 (13:52 -0700)
Add skip decorator to tests failing with an unexpected packet during
passive replay.

lldb/test/API/commands/expression/unwind_expression/TestUnwindExpression.py
lldb/test/API/functionalities/gdb_remote_client/TestRestartBug.py
lldb/test/API/lang/objc/hidden-ivars/TestHiddenIvars.py

index de883f4..3839f7d 100644 (file)
@@ -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()
index 142861a..f66f583 100644 (file)
@@ -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
index 5930ffd..cc3922c 100644 (file)
@@ -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")