Skip to content
This repository has been archived by the owner on Aug 17, 2022. It is now read-only.

Commit

Permalink
gdb/testsuite: give a test a real name
Browse files Browse the repository at this point in the history
A test in gdb.python/py-send-packet.exp added in this commit:

  commit 24b2de7
  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.
  • Loading branch information
T-J-Teru committed Dec 3, 2021
1 parent 7a34f66 commit cc7ea75
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gdb/testsuite/gdb.python/py-send-packet.exp
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit cc7ea75

Please sign in to comment.