Fix test breakages caused by removal of gdb_py_test_multiple.
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.python / py-linetable.exp
index b65f46d85a5e88f9f499c1a98c5b1cfb980d2766..535a9358c3f4cd8cf9accc93707b132b93565893 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 2013-2016 Free Software Foundation, Inc.
+# Copyright 2013-2020 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -26,7 +26,7 @@ if [info exists COMPILE] {
     return
 }
 
-if { [prepare_for_testing ${testfile}.exp ${testfile} ${srcfile} $opts] } {
+if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile} $opts] } {
     return -1
 }
 
@@ -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:" "" \
This page took 0.024133 seconds and 4 git commands to generate.