* 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.
This commit is contained in:
Jeff Law 1996-01-31 21:24:38 +00:00
parent 28c16b5525
commit 9b2ceeb159
2 changed files with 9 additions and 2 deletions

View File

@ -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 <dje@charmed.cygnus.com>
* 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 <bothner@kalessin.cygnus.com>

View File

@ -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 {