From: Andrew Burgess Date: Fri, 3 Dec 2021 09:57:16 +0000 (+0000) Subject: gdb/testsuite: give a test a real name X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cc7ea7504c49baae6853c4f6b926271a2029c73d;p=binutils-gdb.git 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. --- diff --git a/gdb/testsuite/gdb.python/py-send-packet.exp b/gdb/testsuite/gdb.python/py-send-packet.exp index 59035757414..8fa747ce4e0 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"]