diff options
Diffstat (limited to 'gdb/testsuite/gdb.base/float.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/float.exp | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/gdb/testsuite/gdb.base/float.exp b/gdb/testsuite/gdb.base/float.exp index 45040f6..a14a915 100644 --- a/gdb/testsuite/gdb.base/float.exp +++ b/gdb/testsuite/gdb.base/float.exp @@ -29,19 +29,10 @@ if $tracelevel { set prms_id 0 set bug_id 0 -set testfile "run" -set srcfile ${testfile}.c -set binfile ${objdir}/${subdir}/${testfile} -if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested float.exp +if { [prepare_for_testing float.exp float run.c] } { return -1 } -gdb_exit -gdb_start -gdb_reinitialize_dir $srcdir/$subdir -gdb_load ${binfile} - # Set it up at a breakpoint so we have its registers. if ![runto_main] then { |