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
This commit is contained in:
Andrew Burgess 2020-02-06 16:37:10 +00:00
parent 6eb1129ce0
commit b0999b9b45
2 changed files with 7 additions and 1 deletions

View File

@ -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.

View File

@ -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"
}