diff options
Diffstat (limited to 'gdb/testsuite/gdb.base/sigall.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/sigall.exp | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/gdb/testsuite/gdb.base/sigall.exp b/gdb/testsuite/gdb.base/sigall.exp index 4bd0427..b1b8597 100644 --- a/gdb/testsuite/gdb.base/sigall.exp +++ b/gdb/testsuite/gdb.base/sigall.exp @@ -18,17 +18,11 @@ if [target_info exists gdb,nosignals] { continue } +standard_testfile -gdb_exit -gdb_start -gdb_reinitialize_dir $srcdir/$subdir - -set testfile sigall -set srcfile ${testfile}.c -set binfile ${objdir}/${subdir}/${testfile} -if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { - untested sigall.exp - return -1 +if {[prepare_for_testing $testfile.exp $testfile $srcfile debug]} { + untested $testfile.exp + return -1 } proc test_one_sig {nextsig} { @@ -98,8 +92,6 @@ proc test_one_sig {nextsig} { set thissig $nextsig } -gdb_load $binfile - # The list of signals that the program generates, in the order they # are generated. set signals { |