[00/11] Cleanup gdb.cp tests when running with clang

Message ID 20221004170747.154307-1-blarsen@redhat.com
Series Cleanup gdb.cp tests when running with clang |


Guinevere Larsen Oct. 4, 2022, 5:07 p.m. UTC
  Following my previous series, where I tried to reduce the amount of
failures when running gdb.base tests using clang, I moved to reducing
errors in gdb.cp.

Actual GDB issues are being addressed in separate patches, and this
series is confined to just changing tests to either work or
XFAIL/disable them, to make it simpler to keep track of issues.

Bruno Larsen (11):
  gdb/testsuite: ignore Non-C-typedefs for gdb.cp/class2.exp
  gdb/testsuite: enable running gdb.cp/classes.exp with clang
  gdb/testsuite: account for clang's recursive destructor calls on
  gdb/testsuite: add XFAIL to gdb.cp/derivation.exp when using clang
  gdb/testsuite: allow for clang style destructors on
  gdb/testsuite: add XFAIL to gdb.cp/ptype-flags.exp when using clang
  gdb/testsuite: skip gdb.cp/anon-struct.exp when using clang
  gdb/testsuite: disable gdb.cp/typeid.exp when using clang
  gdb/testsuite: fix gdb.cp/converts.exp to run with clang
  gdb/testsuite: remove XFAIL on gdb.cp/temargs.exp
  gdb/testsuite: disable gdb.cp/call-method-register.exp with clang

 gdb/testsuite/gdb.cp/anon-struct.exp          |  8 +++++
 gdb/testsuite/gdb.cp/call-method-register.exp |  5 +++
 gdb/testsuite/gdb.cp/class2.exp               |  2 +-
 gdb/testsuite/gdb.cp/classes.exp              | 33 ++++++++++++++++-
 gdb/testsuite/gdb.cp/converts.cc              |  2 +-
 gdb/testsuite/gdb.cp/derivation.exp           |  4 +++
 gdb/testsuite/gdb.cp/m-static.exp             | 36 +++++++++++++------
 gdb/testsuite/gdb.cp/mb-ctor.exp              | 16 +++++++++
 gdb/testsuite/gdb.cp/ptype-flags.exp          | 12 +++++++
 gdb/testsuite/gdb.cp/temargs.exp              |  6 ++--
 gdb/testsuite/gdb.cp/typeid.exp               |  5 +++
 11 files changed, 114 insertions(+), 15 deletions(-)