diff options
author | Tom de Vries <tdevries@suse.de> | 2025-07-17 22:06:38 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2025-07-17 22:06:38 +0200 |
commit | 802963162e97e7fb5a8491503821d8b8b38f933f (patch) | |
tree | fc0942748dc7fca86c9dc66faa4a7ecffca97469 /gdb/python/python-internal.h | |
parent | 1324b95f574f86018e947e1c5255a26266e0eefc (diff) | |
download | binutils-802963162e97e7fb5a8491503821d8b8b38f933f.zip binutils-802963162e97e7fb5a8491503821d8b8b38f933f.tar.gz binutils-802963162e97e7fb5a8491503821d8b8b38f933f.tar.bz2 |
[gdb/testsuite] Stabilize test name in gdb.base/style.exp
With test-case gdb.base/style.exp, I get:
...
PASS: gdb.base/style.exp: set width 88
...
The 88 is not a constant, it's a variable:
...
gdb_test_no_output "set width $desired_width"
...
which is calculated by parsing the output of "info files".
When running with target board unix/-m32, I get instead:
...
PASS: gdb.base/style.exp: set width 67
...
Stabilize the test name by using instead:
...
PASS: gdb.base/style.exp: set width to desired width
...
Tested on x86_64-linux.
Approved-By: Andrew Burgess <aburgess@redhat.com>
Diffstat (limited to 'gdb/python/python-internal.h')
0 files changed, 0 insertions, 0 deletions