aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@redhat.com>2021-12-03 09:57:16 +0000
committerAndrew Burgess <aburgess@redhat.com>2021-12-03 10:01:53 +0000
commitcc7ea7504c49baae6853c4f6b926271a2029c73d (patch)
tree541ad03f1ac34178de84cc734cd3b53902ef96a6 /gdb
parent7a34f66b23d459d81315a4f7e63549eaa2f9cf51 (diff)
downloadgdb-cc7ea7504c49baae6853c4f6b926271a2029c73d.zip
gdb-cc7ea7504c49baae6853c4f6b926271a2029c73d.tar.gz
gdb-cc7ea7504c49baae6853c4f6b926271a2029c73d.tar.bz2
gdb/testsuite: give a test a real name
A test in gdb.python/py-send-packet.exp added in this commit: commit 24b2de7b776f8f23788d855b1eec290c6e208821 Date: Tue Aug 31 14:04:36 2021 +0100 gdb/python: add gdb.RemoteTargetConnection.send_packet included a large amount of binary data in the command sent to GDB. As this test didn't have a real test name the binary data was included in the gdb.sum file. The contents of the binary data could change between different runs of GDB, and this makes comparing results harder. This commit gives the test a real test name.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/gdb.python/py-send-packet.exp3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.python/py-send-packet.exp b/gdb/testsuite/gdb.python/py-send-packet.exp
index 5903575..8fa747c 100644
--- a/gdb/testsuite/gdb.python/py-send-packet.exp
+++ b/gdb/testsuite/gdb.python/py-send-packet.exp
@@ -88,7 +88,8 @@ if { ! $skip_auxv_test } {
# Run the test, fetches the auxv data in Python and confirm it
# matches the expected results.
gdb_test "python run_auxv_send_packet_test(\"$reply_data\")" \
- "auxv send packet test passed"
+ "auxv send packet test passed" \
+ "call python run_auxv_send_packet_test function"
}
set sizeof_global_var [get_valueof "/d" "sizeof(global_var)" "UNKNOWN"]