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 0eb3db75fcbd6b5fec360dbb9ad310ce67154b9e..ac292ab162b49b0c6fe1ee2bd44038a4fc337d90 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 1d7c3052c38f7d5c9460889174e1043d838ce5a6..8415e17c49440ca370045b1f69bf17d3f3b28cfa 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 .*"