gdb/testsuite: Remove build paths from test names

Having paths in test names makes it harder to compare results from
different builds of GDB.

gdb/testsuite/ChangeLog:

	* gdb.btrace/multi-inferior.exp: Avoid paths in test names.
This commit is contained in:
Andrew Burgess 2020-04-23 10:44:30 +01:00
parent 617769d62f
commit 8d840e05dc
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2020-04-25 Andrew Burgess <andrew.burgess@embecosm.com>
* gdb.btrace/multi-inferior.exp: Avoid paths in test names.
2020-04-24 Tom Tromey <tom@tromey.com>
PR symtab/12707:

View File

@ -40,7 +40,8 @@ with_test_prefix "inferior 1" {
}
with_test_prefix "inferior 2" {
gdb_test "add-inferior -exec ${binfile}" "Added inferior 2.*"
gdb_test "add-inferior -exec ${binfile}" "Added inferior 2.*" \
"add second inferior"
gdb_test "inferior 2" "Switching to inferior 2.*"
if ![runto_main] {
@ -59,7 +60,8 @@ with_test_prefix "inferior 1" {
}
with_test_prefix "inferior 3" {
gdb_test "add-inferior -exec ${binfile}" "Added inferior 3.*"
gdb_test "add-inferior -exec ${binfile}" "Added inferior 3.*" \
"add third inferior"
gdb_test "inferior 3" "Switching to inferior 3.*"
if ![runto_main] {