diff mbox

[PUSHED] gdb/testsuite: Remove source file path from test name

Message ID 20200225144055.957-1-andrew.burgess@embecosm.com
State New
Headers show

Commit Message

Andrew Burgess Feb. 25, 2020, 2:40 p.m. UTC
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                       | 5 +++++
 gdb/testsuite/gdb.base/cached-source-file.exp | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)
diff mbox

Patch

diff --git a/gdb/testsuite/gdb.base/cached-source-file.exp b/gdb/testsuite/gdb.base/cached-source-file.exp
index 755416f25da..8457b1ee0c7 100644
--- a/gdb/testsuite/gdb.base/cached-source-file.exp
+++ b/gdb/testsuite/gdb.base/cached-source-file.exp
@@ -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.