[PUSHED] gdb/testsuite: Remove source file path from test name
Commit Message
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(-)
@@ -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.