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-value.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-value.exp')
-rw-r--r-- | gdb/testsuite/gdb.python/py-value.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.python/py-value.exp b/gdb/testsuite/gdb.python/py-value.exp index cfd27de..8d651bc 100644 --- a/gdb/testsuite/gdb.python/py-value.exp +++ b/gdb/testsuite/gdb.python/py-value.exp @@ -172,7 +172,7 @@ proc test_value_numeric_ops {} { proc test_value_boolean {} { # First, define a useful function to test booleans. - gdb_py_test_multiple "define function to test booleans" \ + gdb_test_multiline "define function to test booleans" \ "python" "" \ "def test_bool (val):" "" \ " if val:" "" \ @@ -506,7 +506,7 @@ proc test_parse_and_eval {} { # Test that values are hashable. proc test_value_hash {} { - gdb_py_test_multiple "Simple Python value dictionary" \ + gdb_test_multiline "Simple Python value dictionary" \ "python" "" \ "one = gdb.Value(1)" "" \ "two = gdb.Value(2)" "" \ |