gdb: Remove file path from test name
authorAndrew Burgess <andrew.burgess@embecosm.com>
Fri, 14 Jun 2019 22:31:10 +0000 (23:31 +0100)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Sat, 15 Jun 2019 20:31:04 +0000 (21:31 +0100)
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.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/style-logging.exp

index 0eb3db7..ac292ab 100644 (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:
index 1d7c305..8415e17 100644 (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 .*"