diff options
author | Tom de Vries <tdevries@suse.de> | 2020-06-03 17:18:52 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2020-06-03 17:18:52 +0200 |
commit | 5144dfba285d9b467016b7a2f72f0240fda7ce8f (patch) | |
tree | 1324a994d11f1ba5bba898cd4c66c3b3a78cb86b /binutils/windmc.c | |
parent | 4ee4189f86ca1efac81864c61b51acca65078077 (diff) | |
download | binutils-5144dfba285d9b467016b7a2f72f0240fda7ce8f.zip binutils-5144dfba285d9b467016b7a2f72f0240fda7ce8f.tar.gz binutils-5144dfba285d9b467016b7a2f72f0240fda7ce8f.tar.bz2 |
[gdb/testsuite] Fix use of verbose in gdb/jit-*.exp
When running the gdb/jit-*.exp tests with runtest -v, I get:
...
ERROR: internal buffer is full.
UNRESOLVED: gdb.base/jit-elf-so.exp: one_jit_test-1: maintenance print objfiles
ERROR: internal buffer is full.
UNRESOLVED: gdb.base/jit-elf-so.exp: one_jit_test-2: maintenance print objfiles
ERROR: internal buffer is full.
UNRESOLVED: gdb.base/jit-elf.exp: one_jit_test-1: maintenance print objfiles
ERROR: internal buffer is full.
UNRESOLVED: gdb.base/jit-elf.exp: one_jit_test-2: maintenance print objfiles
ERROR: internal buffer is full.
UNRESOLVED: gdb.base/jit-elf.exp: attach: one_jit_test-2: maintenance print objfiles
ERROR: internal buffer is full.
UNRESOLVED: gdb.base/jit-elf.exp: PIE: one_jit_test-1: maintenance print objfiles
FAIL: gdb.base/jit-reader.exp: jit-reader-load
FAIL: gdb.base/jit-reader.exp: with jit-reader: before mangling: bt works
FAIL: gdb.base/jit-reader.exp: with jit-reader: after mangling: bt works
FAIL: gdb.base/jit-reader.exp: with jit-reader again: jit-reader-load
FAIL: gdb.base/jit-reader.exp: with jit-reader again: bt
...
This is the consequence of the use of global verbose in these tests, which is
used to change the actual test, rather than be more verbose about it.
Fix this by defining a global test_verbose in each test, and using that
instead.
Tested on x86_64-linux using runtest -v.
gdb/testsuite/ChangeLog:
2020-06-03 Tom de Vries <tdevries@suse.de>
PR testsuite/25609
* gdb.base/jit-elf-so.exp: Don't modify testing behaviour based on
value of global verbose.
* gdb.base/jit-elf.exp: Same.
* gdb.base/jit-reader.exp: Same.
Diffstat (limited to 'binutils/windmc.c')
0 files changed, 0 insertions, 0 deletions