diff options
author | Tom de Vries <tdevries@suse.de> | 2022-04-04 10:56:51 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2022-04-04 12:25:55 +0200 |
commit | b86dbc4c45a13ca94cdee78518cb648ccc061aa9 (patch) | |
tree | 389ef857bbb365d532c1cdfdafc6df04bc3b5bdd /gdb/source-cache.h | |
parent | 09ab0d2eecfbcb5ac68617fd356c9f8067b07769 (diff) | |
download | gdb-b86dbc4c45a13ca94cdee78518cb648ccc061aa9.zip gdb-b86dbc4c45a13ca94cdee78518cb648ccc061aa9.tar.gz gdb-b86dbc4c45a13ca94cdee78518cb648ccc061aa9.tar.bz2 |
[gdb/testsuite] Fix KPASS in gdb.ada/arrayptr.exp
On openSUSE Leap 15.3 I run into:
...
KPASS: gdb.ada/arrayptr.exp: scenario=minimal: print pa_ptr.all \
(PRMS minimal encodings)
KPASS: gdb.ada/arrayptr.exp: scenario=minimal: print pa_ptr(3) \
(PRMS minimal encodings)
KPASS: gdb.ada/arrayptr.exp: scenario=minimal: print pa_ptr.all(3) \
(PRMS minimal encodings)
...
The test-case KFAILs some tests. However, the analysis in the corresponding
PR talks of a compiler problem, so it should use XFAILs instead.
The KFAILs are setup for pre-gcc-12, but apparantly the fix has been
backported to system compiler 7.5.0, hence the KPASS.
Fix this by:
- using an XFAIL instead of a KFAIL
- matching the specific gdb output that corresponds to the XFAILs
(reproduced on Fedora 34).
Tested on x86_64-linux, specifically openSUSE Leap 15.3 and Fedora 34.
Diffstat (limited to 'gdb/source-cache.h')
0 files changed, 0 insertions, 0 deletions