aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Burgess <andrew.burgess@embecosm.com>2020-04-23 10:44:30 +0100
committerAndrew Burgess <andrew.burgess@embecosm.com>2020-04-25 10:29:27 +0100
commit8d840e05dc21b67290440bfd449b9bf272346d47 (patch)
tree50ad4cfc12760b4d39db6677596edd92ad3337a7
parent617769d62f2810ada37a37561201374cbfaba6f1 (diff)
downloadbinutils-8d840e05dc21b67290440bfd449b9bf272346d47.zip
binutils-8d840e05dc21b67290440bfd449b9bf272346d47.tar.gz
binutils-8d840e05dc21b67290440bfd449b9bf272346d47.tar.bz2
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.
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.btrace/multi-inferior.exp6
2 files changed, 8 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 03c42bd..6a5c2f5 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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:
diff --git a/gdb/testsuite/gdb.btrace/multi-inferior.exp b/gdb/testsuite/gdb.btrace/multi-inferior.exp
index 87a9933..fdf889f 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] {