* misc.exp: If executable does not exist, issue warning and skip
authorJim Kingdon <jkingdon@engr.sgi.com>
Thu, 2 Mar 1995 14:23:40 +0000 (14:23 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Thu, 2 Mar 1995 14:23:40 +0000 (14:23 +0000)
remaining tests, like other chill tests.

gdb/testsuite/gdb.chill/ChangeLog
gdb/testsuite/gdb.chill/misc.exp

index 8446b09..049b54f 100644 (file)
@@ -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.
index a1f3123..a12bdb8 100644 (file)
@@ -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