diff mbox

gdb: Remove file path from test name

Message ID 20190614223406.6020-1-andrew.burgess@embecosm.com
State New
Headers show

Commit Message

Andrew Burgess June 14, 2019, 10:34 p.m. UTC
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                  | 4 ++++
 gdb/testsuite/gdb.base/style-logging.exp | 3 ++-
 2 files changed, 6 insertions(+), 1 deletion(-)

Comments

Tom Tromey June 15, 2019, 2:27 p.m. UTC | #1
>>>>> "Andrew" == Andrew Burgess <andrew.burgess@embecosm.com> writes:

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

Yep, sorry about that!  This looks good, thanks for doing it.
I think this sort of change can be considered obvious.

Tom
diff mbox

Patch

diff --git a/gdb/testsuite/gdb.base/style-logging.exp b/gdb/testsuite/gdb.base/style-logging.exp
index 1d7c3052c38..8415e17c494 100644
--- a/gdb/testsuite/gdb.base/style-logging.exp
+++ b/gdb/testsuite/gdb.base/style-logging.exp
@@ -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 .*"