gdb: Remove file path from test name

Having paths in test names makes comparing sum files difficult, rename
a test to avoid paths in test names.

gdb/testsuite/ChangeLog:

	* gdb.base/style-logging.exp: Remove path from test name.
This commit is contained in:
Andrew Burgess 2019-06-14 23:31:10 +01:00
parent 49455d8bbd
commit 09e4c4e1f1
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
* gdb.base/style-logging.exp: Remove path from test name.
2019-06-14 Tom Tromey <tromey@adacore.com>
PR gdb/24502:

View File

@ -44,7 +44,8 @@ save_vars { env(TERM) } {
gdb_test_no_output "set style enabled on"
set log_name [standard_output_file log.txt]
gdb_test_no_output "set logging file $log_name"
gdb_test_no_output "set logging file $log_name" \
"set logging filename"
gdb_test_no_output "set logging overwrite on"
gdb_test "set logging on" "Copying output to .*"