diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1995-03-02 14:23:40 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1995-03-02 14:23:40 +0000 |
commit | ff0a7ea5cd3c287ba044c9c1bb771b687ad7158e (patch) | |
tree | 9f4466711f90c89f80dcb0b65b1c14220e26fedb /gdb | |
parent | 60fdbf97c7b375b858bc88a2f4c0c9b3a0add72f (diff) | |
download | gdb-ff0a7ea5cd3c287ba044c9c1bb771b687ad7158e.zip gdb-ff0a7ea5cd3c287ba044c9c1bb771b687ad7158e.tar.gz gdb-ff0a7ea5cd3c287ba044c9c1bb771b687ad7158e.tar.bz2 |
* misc.exp: If executable does not exist, issue warning and skip
remaining tests, like other chill tests.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/gdb.chill/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.chill/misc.exp | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.chill/ChangeLog b/gdb/testsuite/gdb.chill/ChangeLog index 8446b09..049b54f 100644 --- a/gdb/testsuite/gdb.chill/ChangeLog +++ b/gdb/testsuite/gdb.chill/ChangeLog @@ -1,3 +1,8 @@ +Thu Mar 2 06:17:41 1995 Jim Kingdon (kingdon@lioth.cygnus.com) + + * misc.exp: If executable does not exist, issue warning and skip + remaining tests, like other chill tests. + Wed Mar 1 20:28:42 1995 Per Bothner <bothner@kalessin.cygnus.com> * misc.ch, misc.exp, Makefile.in: New test case. diff --git a/gdb/testsuite/gdb.chill/misc.exp b/gdb/testsuite/gdb.chill/misc.exp index a1f3123..a12bdb8 100644 --- a/gdb/testsuite/gdb.chill/misc.exp +++ b/gdb/testsuite/gdb.chill/misc.exp @@ -36,7 +36,8 @@ proc set_lang_chill {} { global binfile objdir subdir if ![file exists $objdir/$subdir/$binfile] then { - return 0 + warning "$binfile does not exist; tests suppressed." + return 1 } verbose "loading file '$objdir/$subdir/$binfile'" gdb_load $objdir/$subdir/$binfile |