From b0999b9b4574371f4b7682d0ccf5f7dbf1702262 Mon Sep 17 00:00:00 2001 From: Andrew Burgess Date: Thu, 6 Feb 2020 16:37:10 +0000 Subject: [PATCH] gdb/testsuite: Avoid leaking a port number into results summary Give a test a real name in order to avoid including a port number in the results summary file - which makes comparing test results between runs hard. gdb/testsuiteChangeLog: * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid including a port number in the output. Change-Id: I19334e176ac15aee2a9732a6060c58153d9fb793 --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.server/multi-ui-errors.exp | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index eb4388031b..793a0af630 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2020-02-06 Andrew Burgess + + * gdb.server/multi-ui-errors.exp: Give a test a real name to avoid + including a port number in the output. + 2020-02-04 Alok Kumar Sharma * lib/fortran.exp (fortran_int4): Handle clang. diff --git a/gdb/testsuite/gdb.server/multi-ui-errors.exp b/gdb/testsuite/gdb.server/multi-ui-errors.exp index c2a05b0fb6..9d64a9a245 100644 --- a/gdb/testsuite/gdb.server/multi-ui-errors.exp +++ b/gdb/testsuite/gdb.server/multi-ui-errors.exp @@ -65,7 +65,8 @@ with_spawn_id $extra_spawn_id { # Connect to the remote and continue its execution from the other UI. with_spawn_id $extra_spawn_id { - gdb_test "target $gdbserver_protocol $gdbserver_gdbport" ".*" + gdb_test "target $gdbserver_protocol $gdbserver_gdbport" ".*" \ + "connect to gdbserver" send_gdb "continue\n" } -- 2.34.1