From: Jeff Law Date: Wed, 31 Jan 1996 21:24:38 +0000 (+0000) Subject: * gdb.base/default.exp: Remove extraneous call to load gdb.exp. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9b2ceeb159944a4e16a955aca71d794f96e879c3;p=binutils-gdb.git * gdb.base/default.exp: Remove extraneous call to load gdb.exp. * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before trying to compile the testcase. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 5390cef0d9e..927cf000587 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,6 +1,13 @@ +Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com) + + * gdb.base/default.exp: Remove extraneous call to load gdb.exp. + * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before + trying to compile the testcase. + Wed Jan 24 23:42:39 1996 Doug Evans * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2. + * gdb.base/signals.exp (continue to handler): Likewise. Tue Jan 23 16:28:22 1996 Per Bothner diff --git a/gdb/testsuite/gdb.chill/pr-8405.exp b/gdb/testsuite/gdb.chill/pr-8405.exp index 55dda7deb8a..9dcf67694ae 100644 --- a/gdb/testsuite/gdb.chill/pr-8405.exp +++ b/gdb/testsuite/gdb.chill/pr-8405.exp @@ -40,6 +40,8 @@ proc do_tests {} { gdb_test "print \$i" {= \[.c: "", .b: B'00000000', .boo: FALSE\]} } +if [skip_chill_tests] then { continue } + # Check to see if we have an executable to test. If not, then either we # haven't tried to compile one, or the compilation failed for some reason. # In either case, just notify the user and skip the tests in this file. @@ -52,8 +54,6 @@ if { [compile "${srcfile} -g -w -o ${binfile} ${CHILL_RT0} ${CHILL_LIB}"] != "" return -1 } -if [skip_chill_tests] then { continue } - if ![file exists $binfile] then { warning "$binfile does not exist; tests suppressed." 0 } else {