gdb/testsuite: Disable gdb.compile when testing with clang
authorBruno Larsen <blarsen@redhat.com>
Fri, 14 Jul 2023 08:06:03 +0000 (10:06 +0200)
committerBruno Larsen <blarsen@redhat.com>
Fri, 4 Aug 2023 07:33:51 +0000 (09:33 +0200)
commit49459ed32b71aefd0443d82c939f05933505080e
treeb7c321470edf5cd4af11c2de6827418c60f5df2c
parentea305f846fd5a08ad5d8cbd1defbe7cd2e53b0b9
gdb/testsuite: Disable gdb.compile when testing with clang

Attempting to test the gdb.compile with clang as the compiler results in
over 300 unexpected errors, due to a segmentation fault and several
handshake failures. Since the whole feature is designed around a gcc
plugin, and even the gcc testing is shaky at best, this commit restricts
those tests to only running under gcc. If that gets fixed, this commit
can be reverted.

Approved-By: Tom Tromey <tom@tromey.com>
16 files changed:
gdb/testsuite/gdb.compile/compile-cplus-anonymous.exp
gdb/testsuite/gdb.compile/compile-cplus-array-decay.exp
gdb/testsuite/gdb.compile/compile-cplus-inherit.exp
gdb/testsuite/gdb.compile/compile-cplus-member.exp
gdb/testsuite/gdb.compile/compile-cplus-method.exp
gdb/testsuite/gdb.compile/compile-cplus-namespace.exp
gdb/testsuite/gdb.compile/compile-cplus-nested.exp
gdb/testsuite/gdb.compile/compile-cplus-print.exp
gdb/testsuite/gdb.compile/compile-cplus-virtual.exp
gdb/testsuite/gdb.compile/compile-cplus.exp
gdb/testsuite/gdb.compile/compile-ifunc.exp
gdb/testsuite/gdb.compile/compile-ops.exp
gdb/testsuite/gdb.compile/compile-print.exp
gdb/testsuite/gdb.compile/compile-setjmp.exp
gdb/testsuite/gdb.compile/compile-tls.exp
gdb/testsuite/gdb.compile/compile.exp