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 10:56:51 +0200 |
commit | cbf26882c0cafe85e309376d9883a93a0fbc3180 (patch) | |
tree | c90ea800777139d30e8d3b9893f833834733dfa7 /gdb/python/lib | |
parent | cf78890fd449bedb7190d36ed1288187fb3e8bb2 (diff) | |
download | binutils-cbf26882c0cafe85e309376d9883a93a0fbc3180.zip binutils-cbf26882c0cafe85e309376d9883a93a0fbc3180.tar.gz binutils-cbf26882c0cafe85e309376d9883a93a0fbc3180.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/python/lib')
0 files changed, 0 insertions, 0 deletions