gdb/testsuite: Remove source file path from test name

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.
This commit is contained in:
Andrew Burgess 2020-02-25 14:37:25 +00:00
parent ecda90163e
commit 2078dbb210
2 changed files with 6 additions and 1 deletions

View 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

View 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.