2003-06-23 Elena Zannoni <ezannoni@redhat.com>
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>
Mon, 23 Jun 2003 20:20:31 +0000 (20:20 +0000)
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>
Mon, 23 Jun 2003 20:20:31 +0000 (20:20 +0000)
        * gdb.objc/basicclass.exp: Return -1 if we cannot compile
        the testcase.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.objc/basicclass.exp

index 8a1a411..ce28f5d 100644 (file)
@@ -1,3 +1,8 @@
+2003-06-23  Elena Zannoni  <ezannoni@redhat.com>
+
+       * gdb.objc/basicclass.exp: Return -1 if we cannot compile
+       the testcase.
+
 2003-06-22  Daniel Jacobowitz  <drow@mvista.com>
 
        * gdb.base/relocate.exp: Test add-symbol-file with a variable
index 44b709e..5fb5181 100644 (file)
@@ -29,7 +29,7 @@ set binfile ${objdir}/${subdir}/${testfile}
 # which libraries to link in. Most of the time it uses pthread
 #
 if {[gdb_compile_objc "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable [list debug ]] != "" } {
-  gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail."
+  return -1
 }
 
 #