gdb/testsuite: Remove source file path from test name
authorAndrew Burgess <andrew.burgess@embecosm.com>
Tue, 25 Feb 2020 14:37:25 +0000 (14:37 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Tue, 25 Feb 2020 14:39:44 +0000 (14:39 +0000)
Having paths in test names makes comparing test results from two
separate runs (in different directories) harder.

gdb/testsuite/ChangeLog:

* gdb.base/cached-source-file.exp: Avoid source file paths in test
names.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/cached-source-file.exp

index 8ac38049b6059722346b2c241af0dc56129ce794..ccbb5be8fc1c078659dd3d10870abef1c2ab5d6a 100644 (file)
@@ -1,3 +1,8 @@
+2020-02-25  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * gdb.base/cached-source-file.exp: Avoid source file paths in test
+       names.
+
 2020-02-25  Tom de Vries  <tdevries@suse.de>
 
        PR go/18926
index 755416f25da61351df1cde9074fc652607dcd6da..8457b1ee0c7d2e4d9015bcd24c868cbbf0cb6357 100644 (file)
@@ -43,7 +43,7 @@ if { [prepare_for_testing "failed to prepare" $testfile $srcfile] } {
 set bp_line [gdb_get_line_number "break-here" $srcfile]
 
 gdb_assert { [runto "$srcfile:$bp_line"] } \
-    "run to $srcfile:$bp_line"
+    "run to break-here marker"
 
 # Do a "list" and check that the printed line matches the line of the
 # original source file.