* [PUSHED] gdb/testsuite: Remove source file path from test name
@ 2020-02-25 14:41 Andrew Burgess
0 siblings, 0 replies; only message in thread
From: Andrew Burgess @ 2020-02-25 14:41 UTC (permalink / raw)
To: gdb-patches; +Cc: Andrew Burgess
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 --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.
--
2.14.5
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-02-25 14:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-25 14:41 [PUSHED] gdb/testsuite: Remove source file path from test name Andrew Burgess
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).