From: Andrew Burgess Date: Thu, 30 Jun 2011 08:53:38 +0000 (+0000) Subject: http://sourceware.org/ml/gdb-patches/2011-06/msg00442.html X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e9e642a83f4a2403372d7c7323ce8406c41ce919;p=binutils-gdb.git sourceware.org/ml/gdb-patches/2011-06/msg00442.html Don't compile c++ tests for platforms that don't support c++. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index b0e0fe51195..2a88fc6fb3b 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2011-06-30 Andrew Burgess + + * gdb.python/py-template.exp: Don't run this test if the target + does not support c++ tests. + 2011-06-29 Jan Kratochvil Fix non-only rename list for Fortran modules import. diff --git a/gdb/testsuite/gdb.python/py-template.exp b/gdb/testsuite/gdb.python/py-template.exp index d22e4d12f5c..9656831693e 100644 --- a/gdb/testsuite/gdb.python/py-template.exp +++ b/gdb/testsuite/gdb.python/py-template.exp @@ -20,6 +20,8 @@ if $tracelevel then { strace $tracelevel } +if { [skip_cplus_tests] } { continue } + set testfile "py-template" set srcfile ${testfile}.cc set binfile ${objdir}/${subdir}/${testfile}