aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@broadcom.com>2011-06-30 08:53:38 +0000
committerAndrew Burgess <aburgess@broadcom.com>2011-06-30 08:53:38 +0000
commite9e642a83f4a2403372d7c7323ce8406c41ce919 (patch)
tree77dcec50623c60ec68b5011fac8562b9815254aa /gdb/testsuite
parent14788a3f86c56a4da38d8655b61e599a6dce7c12 (diff)
downloadgdb-e9e642a83f4a2403372d7c7323ce8406c41ce919.zip
gdb-e9e642a83f4a2403372d7c7323ce8406c41ce919.tar.gz
gdb-e9e642a83f4a2403372d7c7323ce8406c41ce919.tar.bz2
http://sourceware.org/ml/gdb-patches/2011-06/msg00442.html
Don't compile c++ tests for platforms that don't support c++.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.python/py-template.exp2
2 files changed, 7 insertions, 0 deletions
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 <aburgess@broadcom.com>
+
+ * gdb.python/py-template.exp: Don't run this test if the target
+ does not support c++ tests.
+
2011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
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}