This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] 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.
---
 gdb/testsuite/ChangeLog                  | 4 ++++
 gdb/testsuite/gdb.base/style-logging.exp | 3 ++-
 2 files changed, 6 insertions(+), 1 deletion(-)

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 .*"
 
-- 
2.14.5


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]