From 8d840e05dc21b67290440bfd449b9bf272346d47 Mon Sep 17 00:00:00 2001 From: Andrew Burgess Date: Thu, 23 Apr 2020 10:44:30 +0100 Subject: [PATCH] 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. --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.btrace/multi-inferior.exp | 6 ++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 03c42bd01c1..6a5c2f53b0f 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2020-04-25 Andrew Burgess + + * gdb.btrace/multi-inferior.exp: Avoid paths in test names. + 2020-04-24 Tom Tromey PR symtab/12707: diff --git a/gdb/testsuite/gdb.btrace/multi-inferior.exp b/gdb/testsuite/gdb.btrace/multi-inferior.exp index 87a99332e03..fdf889f5ed8 100644 --- a/gdb/testsuite/gdb.btrace/multi-inferior.exp +++ b/gdb/testsuite/gdb.btrace/multi-inferior.exp @@ -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] { -- 2.30.2