From e9e642a83f4a2403372d7c7323ce8406c41ce919 Mon Sep 17 00:00:00 2001 From: Andrew Burgess Date: Thu, 30 Jun 2011 08:53:38 +0000 Subject: http://sourceware.org/ml/gdb-patches/2011-06/msg00442.html Don't compile c++ tests for platforms that don't support c++. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.python/py-template.exp | 2 ++ 2 files changed, 7 insertions(+) (limited to 'gdb/testsuite') diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index b0e0fe5..2a88fc6 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 d22e4d1..9656831 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} -- cgit v1.1