[Lldb-commits] [lldb] 5f97a54 - [lldb/Reproducers] Differentiate active and passive replay unexpected packet.
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Wed May 27 13:53:18 PDT 2020
Author: Jonas Devlieghere
Date: 2020-05-27T13:52:38-07:00
New Revision: 5f97a540ad8dd4baac47873fa4bdfba2f37e0f82
URL: https://github.com/llvm/llvm-project/commit/5f97a540ad8dd4baac47873fa4bdfba2f37e0f82
DIFF: https://github.com/llvm/llvm-project/commit/5f97a540ad8dd4baac47873fa4bdfba2f37e0f82.diff
LOG: [lldb/Reproducers] Differentiate active and passive replay unexpected packet.
Added:
Modified:
lldb/test/API/commands/command/script/TestCommandScript.py
lldb/test/API/commands/expression/issue_11588/Test11588.py
lldb/test/API/commands/process/attach-resume/TestAttachResume.py
lldb/test/API/commands/process/attach/TestProcessAttach.py
lldb/test/API/functionalities/breakpoint/scripted_bkpt/TestScriptedResolver.py
lldb/test/API/functionalities/conditional_break/TestConditionalBreak.py
lldb/test/API/functionalities/gdb_remote_client/TestGDBRemoteClient.py
lldb/test/API/functionalities/signal/TestSendSignal.py
lldb/test/API/functionalities/step_scripted/TestStepScripted.py
lldb/test/API/lang/objc/foundation/TestRuntimeTypes.py
lldb/test/API/lang/objc/modules/TestObjCModules.py
lldb/test/API/lang/objc/print-obj/TestPrintObj.py
lldb/test/API/python_api/hello_world/TestHelloWorld.py
Removed:
################################################################################
diff --git a/lldb/test/API/commands/command/script/TestCommandScript.py b/lldb/test/API/commands/command/script/TestCommandScript.py
index 6663c3641452..caf97ea8db97 100644
--- a/lldb/test/API/commands/command/script/TestCommandScript.py
+++ b/lldb/test/API/commands/command/script/TestCommandScript.py
@@ -14,7 +14,7 @@ class CmdPythonTestCase(TestBase):
mydir = TestBase.compute_mydir(__file__)
NO_DEBUG_INFO_TESTCASE = True
- @skipIfReproducer # Unexpected packet during replay
+ @skipIfReproducer # FIXME: Unexpected packet during (active) replay
def test(self):
self.build()
self.pycmd_tests()
diff --git a/lldb/test/API/commands/expression/issue_11588/Test11588.py b/lldb/test/API/commands/expression/issue_11588/Test11588.py
index 8ed7797d5fff..eb5b86e96363 100644
--- a/lldb/test/API/commands/expression/issue_11588/Test11588.py
+++ b/lldb/test/API/commands/expression/issue_11588/Test11588.py
@@ -17,7 +17,7 @@ class Issue11581TestCase(TestBase):
mydir = TestBase.compute_mydir(__file__)
@expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24778")
- @skipIfReproducer # Unexpected packet during replay
+ @skipIfReproducer # FIXME: Unexpected packet during (active) replay
def test_11581_commands(self):
# This is the function to remove the custom commands in order to have a
# clean slate for the next test case.
diff --git a/lldb/test/API/commands/process/attach-resume/TestAttachResume.py b/lldb/test/API/commands/process/attach-resume/TestAttachResume.py
index ebb4345aca91..48a281e096a9 100644
--- a/lldb/test/API/commands/process/attach-resume/TestAttachResume.py
+++ b/lldb/test/API/commands/process/attach-resume/TestAttachResume.py
@@ -21,7 +21,7 @@ class AttachResumeTestCase(TestBase):
@expectedFailureAll(oslist=['freebsd'], bugnumber='llvm.org/pr19310')
@expectedFailureNetBSD
@skipIfWindows # llvm.org/pr24778, llvm.org/pr21753
- @skipIfReproducer # Unexpected packet during replay
+ @skipIfReproducer # FIXME: Unexpected packet during (active) replay
def test_attach_continue_interrupt_detach(self):
"""Test attach/continue/interrupt/detach"""
self.build()
diff --git a/lldb/test/API/commands/process/attach/TestProcessAttach.py b/lldb/test/API/commands/process/attach/TestProcessAttach.py
index 792a8cee61f9..f9b273309956 100644
--- a/lldb/test/API/commands/process/attach/TestProcessAttach.py
+++ b/lldb/test/API/commands/process/attach/TestProcessAttach.py
@@ -39,7 +39,7 @@ def test_attach_to_process_by_id(self):
self.assertTrue(process, PROCESS_IS_VALID)
@expectedFailureNetBSD
- @skipIfReproducer # Unexpected packet during replay
+ @skipIfReproducer # FIXME: Unexpected packet during (active) replay
def test_attach_to_process_from_
diff erent_dir_by_id(self):
"""Test attach by process id"""
newdir = self.getBuildArtifact("newdir")
diff --git a/lldb/test/API/functionalities/breakpoint/scripted_bkpt/TestScriptedResolver.py b/lldb/test/API/functionalities/breakpoint/scripted_bkpt/TestScriptedResolver.py
index b08dfc78cea3..f4bbde755e69 100644
--- a/lldb/test/API/functionalities/breakpoint/scripted_bkpt/TestScriptedResolver.py
+++ b/lldb/test/API/functionalities/breakpoint/scripted_bkpt/TestScriptedResolver.py
@@ -16,7 +16,7 @@ class TestScriptedResolver(TestBase):
NO_DEBUG_INFO_TESTCASE = True
@expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24528")
- @skipIfReproducer # Unexpected packet during replay
+ @skipIfReproducer # FIXME: Unexpected packet during (active) replay
def test_scripted_resolver(self):
"""Use a scripted resolver to set a by symbol name breakpoint"""
self.build()
diff --git a/lldb/test/API/functionalities/conditional_break/TestConditionalBreak.py b/lldb/test/API/functionalities/conditional_break/TestConditionalBreak.py
index c1184d22cf15..619d8c9f2394 100644
--- a/lldb/test/API/functionalities/conditional_break/TestConditionalBreak.py
+++ b/lldb/test/API/functionalities/conditional_break/TestConditionalBreak.py
@@ -26,7 +26,7 @@ def test_with_python(self):
self.build()
self.do_conditional_break()
- @skipIfReproducer # Unexpected packet during replay
+ @skipIfReproducer # FIXME: Unexpected packet during (active) replay
def test_with_command(self):
"""Simulate a user using lldb commands to break on c() if called from a()."""
self.build()
diff --git a/lldb/test/API/functionalities/gdb_remote_client/TestGDBRemoteClient.py b/lldb/test/API/functionalities/gdb_remote_client/TestGDBRemoteClient.py
index 053183b5b5b7..54f1e8a220ab 100644
--- a/lldb/test/API/functionalities/gdb_remote_client/TestGDBRemoteClient.py
+++ b/lldb/test/API/functionalities/gdb_remote_client/TestGDBRemoteClient.py
@@ -18,7 +18,7 @@ def test_connect(self):
process = self.connect(target)
self.assertPacketLogContains(["qProcessInfo", "qfThreadInfo"])
- @skipIfReproducer # Unexpected packet during replay
+ @skipIfReproducer # FIXME: Unexpected packet during (active) replay
def test_attach_fail(self):
error_msg = "mock-error-msg"
diff --git a/lldb/test/API/functionalities/signal/TestSendSignal.py b/lldb/test/API/functionalities/signal/TestSendSignal.py
index 84c41d7def64..d06322794a63 100644
--- a/lldb/test/API/functionalities/signal/TestSendSignal.py
+++ b/lldb/test/API/functionalities/signal/TestSendSignal.py
@@ -23,7 +23,7 @@ def setUp(self):
bugnumber="llvm.org/pr23318: does not report running state")
@expectedFailureNetBSD(bugnumber='llvm.org/pr43959')
@skipIfWindows # Windows does not support signals
- @skipIfReproducer # Unexpected packet during replay
+ @skipIfReproducer # FIXME: Unexpected packet during (active) replay
def test_with_run_command(self):
"""Test that lldb command 'process signal SIGUSR1' sends a signal to the inferior process."""
self.build()
diff --git a/lldb/test/API/functionalities/step_scripted/TestStepScripted.py b/lldb/test/API/functionalities/step_scripted/TestStepScripted.py
index 9cc63f46e806..1e87541960c8 100644
--- a/lldb/test/API/functionalities/step_scripted/TestStepScripted.py
+++ b/lldb/test/API/functionalities/step_scripted/TestStepScripted.py
@@ -18,14 +18,14 @@ def setUp(self):
self.main_source_file = lldb.SBFileSpec("main.c")
self.runCmd("command script import Steps.py")
- @skipIfReproducer # Unexpected packet during replay
+ @skipIfReproducer # FIXME: Unexpected packet during (active) replay
def test_standard_step_out(self):
"""Tests stepping with the scripted thread plan laying over a standard
thread plan for stepping out."""
self.build()
self.step_out_with_scripted_plan("Steps.StepOut")
- @skipIfReproducer # Unexpected packet during replay
+ @skipIfReproducer # FIXME: Unexpected packet during (active) replay
def test_scripted_step_out(self):
"""Tests stepping with the scripted thread plan laying over an another
scripted thread plan for stepping out."""
@@ -65,12 +65,12 @@ def test_misspelled_plan_name(self):
# Make sure we didn't let the process run:
self.assertEqual(stop_id, process.GetStopID(), "Process didn't run")
- @skipIfReproducer # Unexpected packet during replay
+ @skipIfReproducer # FIXME: Unexpected packet during (active) replay
def test_checking_variable(self):
"""Test that we can call SBValue API's from a scripted thread plan - using SBAPI's to step"""
self.do_test_checking_variable(False)
- @skipIfReproducer # Unexpected packet during replay
+ @skipIfReproducer # FIXME: Unexpected packet during (active) replay
def test_checking_variable_cli(self):
"""Test that we can call SBValue API's from a scripted thread plan - using cli to step"""
self.do_test_checking_variable(True)
diff --git a/lldb/test/API/lang/objc/foundation/TestRuntimeTypes.py b/lldb/test/API/lang/objc/foundation/TestRuntimeTypes.py
index 7ddaf63f3450..7254f8ec3c6b 100644
--- a/lldb/test/API/lang/objc/foundation/TestRuntimeTypes.py
+++ b/lldb/test/API/lang/objc/foundation/TestRuntimeTypes.py
@@ -19,7 +19,7 @@ class RuntimeTypesTestCase(TestBase):
oslist=["macosx"],
debug_info="gmodules",
bugnumber="llvm.org/pr27862")
- @skipIfReproducer # Unexpected packet during replay
+ @skipIfReproducer # FIXME: Unexpected packet during (active) replay
def test_break(self):
"""Test setting objc breakpoints using '_regexp-break' and 'breakpoint set'."""
if self.getArchitecture() != 'x86_64':
diff --git a/lldb/test/API/lang/objc/modules/TestObjCModules.py b/lldb/test/API/lang/objc/modules/TestObjCModules.py
index 30535409a30f..f6f9111f7641 100644
--- a/lldb/test/API/lang/objc/modules/TestObjCModules.py
+++ b/lldb/test/API/lang/objc/modules/TestObjCModules.py
@@ -22,7 +22,7 @@ def setUp(self):
@skipUnlessDarwin
@skipIf(macos_version=["<", "10.12"])
- @skipIfReproducer # Unexpected packet during replay
+ @skipIfReproducer # FIXME: Unexpected packet during (active) replay
def test_expr(self):
self.build()
exe = self.getBuildArtifact("a.out")
diff --git a/lldb/test/API/lang/objc/print-obj/TestPrintObj.py b/lldb/test/API/lang/objc/print-obj/TestPrintObj.py
index b908079eefcd..dc66e788990d 100644
--- a/lldb/test/API/lang/objc/print-obj/TestPrintObj.py
+++ b/lldb/test/API/lang/objc/print-obj/TestPrintObj.py
@@ -24,7 +24,7 @@ def setUp(self):
# Find the line numbers to break at.
self.line = line_number(self.source, '// Set a breakpoint here.')
- @skipIfReproducer # Unexpected packet during replay
+ @skipIfReproducer # FIXME: Unexpected packet during (active) replay
def test_print_obj(self):
"""
Test "print object" where another thread blocks the print object from making progress.
diff --git a/lldb/test/API/python_api/hello_world/TestHelloWorld.py b/lldb/test/API/python_api/hello_world/TestHelloWorld.py
index 2d38043bb450..75a55ab1f44d 100644
--- a/lldb/test/API/python_api/hello_world/TestHelloWorld.py
+++ b/lldb/test/API/python_api/hello_world/TestHelloWorld.py
@@ -110,7 +110,7 @@ def test_with_attach_to_process_with_id_api(self):
@skipIfiOSSimulator
@skipIfAsan # FIXME: Hangs indefinitely.
@expectedFailureNetBSD
- @skipIfReproducer # Unexpected packet during replay
+ @skipIfReproducer # FIXME: Unexpected packet during (active) replay
def test_with_attach_to_process_with_name_api(self):
"""Create target, spawn a process, and attach to it with process name."""
exe = '%s_%d'%(self.testMethodName, os.getpid())
More information about the lldb-commits
mailing list