test suite update - gdb.base/[h-m]
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / bfp-test.exp
index 5c55308ef989f6eddabbf23ef7c2edf85e4b5f1e..42830c4f934519032d43d9db114eb368734f8a53 100644 (file)
 # This file is part of the gdb testsuite.  It is intended to test that
 # gdb could correctly handle floating point constant with a suffix.
 
-set testfile "bfp-test"
-set srcfile ${testfile}.c
-set binfile ${objdir}/${subdir}/${testfile}
+standard_testfile .c
+
 if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
     untested "Couldn't compile ${srcfile}"
     return -1
 }
 
-gdb_exit
-gdb_start
-gdb_reinitialize_dir $srcdir/$subdir
-gdb_load ${binfile}
+clean_restart ${binfile}
 
 if ![runto_main] then {
     perror "couldn't run to breakpoint"
This page took 0.025868 seconds and 4 git commands to generate.