Skip to content

Commit bee500b

Browse files
committed
[test] Delete some xfailed lldb-mi tests
This is a first pass at removing some lldb-mi tests which have been xfailed and unmaintained for a while. We have open PRs for most of these tests already. I've opened up the following additional PRs: llvm.org/PR36739 - lldb-mi driver exits properly llvm.org/PR36740 - lldb-mi -gdb-set and -gdb-show llvm.org/PR36741 - lldb-mi -symbol-xxx The motivation here is to address timeout and pexpect-related issues in the test suite. This was discussed on lldb-dev in the thread: "increase timeout for tests?". After this change, the lldb-mi tests seem to be in better health (on Darwin at least). I consistently get: $ ./bin/llvm-dotest -p TestMi =================== Test Result Summary =================== Test Methods: 101 Reruns: 0 Success: 88 Expected Failure: 0 Failure: 0 Error: 0 Exceptional Exit: 0 Unexpected Success: 0 Skip: 13 Timeout: 0 Expected Timeout: 0 llvm-svn: 327552
1 parent e66458a commit bee500b

File tree

7 files changed

+0
-638
lines changed

7 files changed

+0
-638
lines changed

lldb/packages/Python/lldbsuite/test/tools/lldb-mi/TestMiExit.py

Lines changed: 0 additions & 97 deletions
This file was deleted.

lldb/packages/Python/lldbsuite/test/tools/lldb-mi/TestMiGdbSetShow.py

Lines changed: 0 additions & 269 deletions
This file was deleted.

lldb/packages/Python/lldbsuite/test/tools/lldb-mi/control/TestMiExec.py

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -15,29 +15,6 @@ class MiExecTestCase(lldbmi_testcase.MiTestCaseBase):
1515

1616
mydir = TestBase.compute_mydir(__file__)
1717

18-
@skipIfRemote # We do not currently support remote debugging via the MI.
19-
@skipIfWindows # llvm.org/pr24452: Get lldb-mi tests working on Windows
20-
@skipIfFreeBSD # llvm.org/pr22411: Failure presumably due to known thread races
21-
@expectedFailureAll(
22-
oslist=["linux"],
23-
bugnumber="llvm.org/pr25000: lldb-mi does not receive broadcasted notification from Core/Process about process stopped")
24-
def test_lldbmi_exec_run(self):
25-
"""Test that 'lldb-mi --interpreter' can stop at entry."""
26-
27-
self.spawnLldbMi(args=None)
28-
29-
# Load executable
30-
self.runCmd("-file-exec-and-symbols %s" % self.myexe)
31-
self.expect("\^done")
32-
33-
# Test that program is stopped at entry
34-
self.runCmd("-exec-run --start")
35-
self.expect("\^running")
36-
self.expect(
37-
"\*stopped,reason=\"signal-received\",signal-name=\"SIGSTOP\",signal-meaning=\"Stop\",.*?thread-id=\"1\",stopped-threads=\"all\"")
38-
# Test that lldb-mi is ready to execute next commands
39-
self.expect(self.child_prompt, exactly=True)
40-
4118
@skipIfRemote # We do not currently support remote debugging via the MI.
4219
@skipIfWindows # llvm.org/pr24452: Get lldb-mi tests working on Windows
4320
@skipIfFreeBSD # llvm.org/pr22411: Failure presumably due to known thread races

0 commit comments

Comments
 (0)