diff options
author | Tom de Vries <tdevries@suse.de> | 2025-08-08 13:51:00 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2025-08-08 13:51:00 +0200 |
commit | 3aeec96467367a1139e877f679117beaccba084c (patch) | |
tree | 7cbf3b08ab5f48d1ade549ead44184990fb6b64b /gdb/python/python.c | |
parent | fee476d2fc5ef6f6f0d38f69ebd524292b6345fb (diff) | |
download | binutils-3aeec96467367a1139e877f679117beaccba084c.zip binutils-3aeec96467367a1139e877f679117beaccba084c.tar.gz binutils-3aeec96467367a1139e877f679117beaccba084c.tar.bz2 |
[gdb/testsuite] Fix gdb.tui/main-2.exp for TERM=ansis
When running test-case gdb.tui/main-2.exp with TERM=ansis, I get:
...
screen line 6: 'B+><fg:black><intensity:bold> 21 <reverse:1><fg:default><intensity:normal> return 0;<reverse:0> '
FAIL: gdb.tui/main-2.exp: highlighted line in middle of source window
...
The test tries to check the highlighting of the source line, but also gets the
part with the line number, which makes it more complicated to parse.
Fix this by getting just the part with the source line:
...
screen line 6: '<reverse:1> return 0;<reverse:0> \
'
...
Tested on x86_64-linux.
Diffstat (limited to 'gdb/python/python.c')
0 files changed, 0 insertions, 0 deletions