gdb/testsuite: Remove build paths from test names
authorAndrew Burgess <andrew.burgess@embecosm.com>
Thu, 23 Apr 2020 09:44:30 +0000 (10:44 +0100)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Sat, 25 Apr 2020 09:29:27 +0000 (10:29 +0100)
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
gdb/testsuite/gdb.btrace/multi-inferior.exp

index 03c42bd01c1e414e5fb0c6941f7f79342f8e4464..6a5c2f53b0ff6ace4703f8bfbb99ea6a760b9b92 100644 (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:
index 87a99332e03e897c5a463446fd9a9d57fa35e10b..fdf889f5ed82410c7e40f48b7d569ffa171e2454 100644 (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] {