Fix test breakages caused by removal of gdb_py_test_multiple.
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.python / py-linetable.exp
index 702c654e28ff4c30786e3e0eb823682148dcfa91..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:" "" \
@@ -62,7 +62,7 @@ gdb_py_test_silent_cmd "python fset = lt.source_lines()" \
     "Get all source lines into a frozen set" 0
 gdb_test "python print (sorted(fset))" \
     "\\\[20, 21, 22, 24, 25, 28, 29, 30, 32, 33, 37, 39, 40, 42, 44, 45, 46\\\].*" \
-    "Test frozen set contains line numbers"
+    "test frozen set contains line numbers"
 
 # Test gdb.Linetable.has_line ()
 gdb_test "python print(lt.has_line(20))" \
@@ -73,4 +73,4 @@ gdb_test "python print(lt.has_line(44))" \
     "Test has_pcs at line 40"
 gdb_test "python print(lt.has_line(10))" \
     "False.*" \
-    "Test has_pcs at line 10"
+    "test has_pcs at line 10"
This page took 0.024941 seconds and 4 git commands to generate.