aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python/py-template.exp
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/gdb.python/py-template.exp
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/gdb.python/py-template.exp')
-rw-r--r--gdb/testsuite/gdb.python/py-template.exp2
1 files changed, 2 insertions, 0 deletions
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}