gdb/testsuite: Don't allow paths to appear in test name

Having paths in the test names makes it harder to compare results
between two runs in different directories.  Give the test a name so
that the path doesn't appear.

gdb/ChangeLog:

	* gdb.base/style.exp: Don't include path in testname.
This commit is contained in:
Andrew Burgess 2019-01-11 23:27:33 +00:00
parent 9d7c67bfbd
commit 6eb6fb6787
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
* gdb.base/style.exp: Don't include path in testname.
2019-01-10 Keith Seitz <keiths@redhat.com>
PR gdb/23712

View File

@ -54,4 +54,5 @@ save_vars { env(TERM) } {
set quoted [string_to_regexp $binfile]
gdb_test "file $binfile" \
"Reading symbols from \033\\\[32m${quoted}\033\\\[m..." \
"filename is styled when loading symbol file"
}