* gdb.python/py-prettyprint.exp: Check result of run_lang_tests.

gdb/testsuite/ChangeLog:

	* gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
This commit is contained in:
Doug Evans
2015-09-09 11:42:52 -07:00
parent 7a551a5158
commit e70b6e8eee
2 changed files with 10 additions and 2 deletions

View File

@ -114,8 +114,12 @@ proc run_lang_tests {exefile lang} {
gdb_continue_to_end
}
run_lang_tests "${binfile}" "c"
run_lang_tests "${binfile}-cxx" "c++"
if { [run_lang_tests "${binfile}" "c"] == -1 } {
return
}
if { [run_lang_tests "${binfile}-cxx" "c++"] == -1 } {
return
}
# Run various other tests.