-# Copyright 2000, 2001 Free Software Foundation, Inc.
+# Copyright 2000, 2001, 2004, 2007 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
set srcfile ${testfile}.c
set binfile ${objdir}/${subdir}/${testfile}
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
- gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail."
+ untested return2.exp
+ return -1
}
proc return_1 { type } {
proc return2_tests { } {
global gdb_prompt
- if { ! [ runto main ] } then {
- gdb_suppress_entire_file "Run to main failed, so all tests in this file will automatically fail."
+ if { ! [ runto_main ] } then {
+ untested return2.exp
+ return -1
}
return_void
return_1 "short"
return_1 "int"
return_1 "long"
- if { ! [istarget "m6811-*-*"] } then {
+ if { ! [istarget "m6811-*-*"] && ![istarget "h8300*-*"] } then {
return_1 "long_long"
}
return_1 "float"