aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.chill
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1996-01-31 21:24:38 +0000
committerJeff Law <law@redhat.com>1996-01-31 21:24:38 +0000
commit9b2ceeb159944a4e16a955aca71d794f96e879c3 (patch)
tree0a5067c4cf54c3fae514b86d251bc05a897c15ef /gdb/testsuite/gdb.chill
parent28c16b5525d0815190dc0ee678e9e5c3ad3247b9 (diff)
downloadgdb-9b2ceeb159944a4e16a955aca71d794f96e879c3.zip
gdb-9b2ceeb159944a4e16a955aca71d794f96e879c3.tar.gz
gdb-9b2ceeb159944a4e16a955aca71d794f96e879c3.tar.bz2
* 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.
Diffstat (limited to 'gdb/testsuite/gdb.chill')
-rw-r--r--gdb/testsuite/gdb.chill/pr-8405.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.chill/pr-8405.exp b/gdb/testsuite/gdb.chill/pr-8405.exp
index 55dda7d..9dcf676 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 {