aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAndrew Burgess <andrew.burgess@embecosm.com>2020-02-06 16:37:10 +0000
committerAndrew Burgess <andrew.burgess@embecosm.com>2020-02-06 16:39:20 +0000
commitb0999b9b4574371f4b7682d0ccf5f7dbf1702262 (patch)
tree46f82f9391005ba1a1a3f29495f5e391081baeda /gdb
parent6eb1129ce0f26bace2842a8652a190224e3a38ee (diff)
downloadbinutils-b0999b9b4574371f4b7682d0ccf5f7dbf1702262.zip
binutils-b0999b9b4574371f4b7682d0ccf5f7dbf1702262.tar.gz
binutils-b0999b9b4574371f4b7682d0ccf5f7dbf1702262.tar.bz2
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
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.server/multi-ui-errors.exp3
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index eb43880..793a0af 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * 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 <alokkumar.sharma@amd.com>
* 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 c2a05b0..9d64a9a 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"
}