diff options
author | Philippe Waroquiers <philippe.waroquiers@skynet.be> | 2020-06-30 18:40:21 +0200 |
---|---|---|
committer | Philippe Waroquiers <philippe.waroquiers@skynet.be> | 2020-06-30 18:40:21 +0200 |
commit | 2a17c803f6e70f26a1ce0c0b8c3c05a9b963b19b (patch) | |
tree | db0b2b4ce6a6440e373a8d89b0f7b2968300161a /gdb/testsuite/gdb.python/py-linetable.exp | |
parent | bbd19b19e44ee6f547291db62cba7150bb407a4c (diff) | |
download | gdb-2a17c803f6e70f26a1ce0c0b8c3c05a9b963b19b.zip gdb-2a17c803f6e70f26a1ce0c0b8c3c05a9b963b19b.tar.gz gdb-2a17c803f6e70f26a1ce0c0b8c3c05a9b963b19b.tar.bz2 |
Fix test breakages caused by removal of gdb_py_test_multiple.
Tom de Vries detected that some python tests were broken as
they were still using gdb_py_test_multiple that was replaced
by gdb_test_multiline. Repair these tests by using the new function.
gdb/testsuite/ChangeLog
2020-06-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
* gdb.python/py-breakpoint.exp: use gdb_test_multiline instead
of gdb_py_test_multiple.
* gdb.python/py-cmd.exp: Likewise.
* gdb.python/py-events.exp: Likewise.
* gdb.python/py-function.exp: Likewise.
* gdb.python/py-inferior.exp: Likewise.
* gdb.python/py-infthread.exp: Likewise.
* gdb.python/py-linetable.exp: Likewise.
* gdb.python/py-parameter.exp: Likewise.
* gdb.python/py-value.exp: Likewise.
Diffstat (limited to 'gdb/testsuite/gdb.python/py-linetable.exp')
-rw-r--r-- | gdb/testsuite/gdb.python/py-linetable.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.python/py-linetable.exp b/gdb/testsuite/gdb.python/py-linetable.exp index a4ae050..535a935 100644 --- a/gdb/testsuite/gdb.python/py-linetable.exp +++ b/gdb/testsuite/gdb.python/py-linetable.exp @@ -40,7 +40,7 @@ if { [skip_python_tests] } { continue } gdb_py_test_silent_cmd "python lt = gdb.selected_frame().find_sal().symtab.linetable()" \ "get instruction" 0 -gdb_py_test_multiple "input simple command" \ +gdb_test_multiline "input simple command" \ "python" "" \ "def list_lines():" "" \ " for l in lt:" "" \ |