aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.compile/compile-cplus-virtual.exp
diff options
context:
space:
mode:
authorBruno Larsen <blarsen@redhat.com>2023-07-14 10:06:03 +0200
committerBruno Larsen <blarsen@redhat.com>2023-08-04 09:33:51 +0200
commit49459ed32b71aefd0443d82c939f05933505080e (patch)
treeb7c321470edf5cd4af11c2de6827418c60f5df2c /gdb/testsuite/gdb.compile/compile-cplus-virtual.exp
parentea305f846fd5a08ad5d8cbd1defbe7cd2e53b0b9 (diff)
downloadbinutils-49459ed32b71aefd0443d82c939f05933505080e.zip
binutils-49459ed32b71aefd0443d82c939f05933505080e.tar.gz
binutils-49459ed32b71aefd0443d82c939f05933505080e.tar.bz2
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>
Diffstat (limited to 'gdb/testsuite/gdb.compile/compile-cplus-virtual.exp')
-rw-r--r--gdb/testsuite/gdb.compile/compile-cplus-virtual.exp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.compile/compile-cplus-virtual.exp b/gdb/testsuite/gdb.compile/compile-cplus-virtual.exp
index f50e385..92c88fc 100644
--- a/gdb/testsuite/gdb.compile/compile-cplus-virtual.exp
+++ b/gdb/testsuite/gdb.compile/compile-cplus-virtual.exp
@@ -21,6 +21,8 @@ standard_testfile .cc
require allow_cplus_tests
+require is_c_compiler_gcc
+
if {[prepare_for_testing $testfile $testfile $srcfile \
{debug nowarnings c++}]} {
return -1