Don't compile c++ tests for platforms that don't support c++.
This commit is contained in:
Andrew Burgess 2011-06-30 08:53:38 +00:00
parent 14788a3f86
commit e9e642a83f
2 changed files with 7 additions and 0 deletions

View File

@ -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.

View File

@ -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}