]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/testsuite/ChangeLog
[gdb/testsuite] Fix xpass in gdb.python/lib-types.exp
authorTom de Vries <tdevries@suse.de>
Wed, 19 Feb 2020 21:57:19 +0000 (22:57 +0100)
committerTom de Vries <tdevries@suse.de>
Wed, 19 Feb 2020 21:57:19 +0000 (22:57 +0100)
commitc9c41e6d73af4593b02471ca4d40ea00e453465a
tree8bb8bfc4821da629dce6d3aa1c0001e523f9d527
parentf20ff8373775e236e63e45ca2d4683d5f69882a7
[gdb/testsuite] Fix xpass in gdb.python/lib-types.exp

When running gdb.python/lib-types.exp, we have an xpass:
...
(gdb) python print (str (typedef_const_typedef_class1_ref_obj.type))^M
typedef_const_typedef_class1_ref^M
(gdb) XPASS: gdb.python/lib-types.exp: \
  python print (str (typedef_const_typedef_class1_ref_obj.type)) \
  (PRMS gcc/55641)
...

When running the same with gcc 4.8, we have an xfail instead:
...
(gdb) python print (str (typedef_const_typedef_class1_ref_obj.type))^M
const typedef_const_typedef_class1_ref^M
(gdb) XFAIL: gdb.python/lib-types.exp: \
  python print (str (typedef_const_typedef_class1_ref_obj.type)) \
  (PRMS gcc/55641)
...

Fix the xpass by xfailing only for the gcc 4.8 pattern.

Tested on x86_64-linux, with:
- gcc 7.5.0
- gcc 4.8.5
- clang 5.0.2

gdb/testsuite/ChangeLog:

2020-02-19  Tom de Vries  <tdevries@suse.de>

* gdb.python/lib-types.exp: Make xfail more strict.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/lib-types.exp