This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] objc testsuite
- From: Elena Zannoni <ezannoni at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Thu, 5 Jun 2003 15:44:28 -0400
- Subject: [PATCH] objc testsuite
Instead of calling gdb_suppress_entire_file, let's just return -1, so we
get an UNSUPPORTED test instead of a lot of FAILs.
elena
2003-06-05 Elena Zannoni <ezannoni@redhat.com>
* gdb.objc/basicclass.exp: Return -1 if we cannot compile
the testcase.
Index: basicclass.exp
===================================================================
RCS file: /cvs/uberbaum/gdb/testsuite/gdb.objc/basicclass.exp,v
retrieving revision 1.1
diff -u -p -r1.1 basicclass.exp
--- basicclass.exp 1 May 2003 01:09:51 -0000 1.1
+++ basicclass.exp 5 Jun 2003 19:37:48 -0000
@@ -29,7 +29,7 @@ set binfile ${objdir}/${subdir}/${testfi
# 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
}
#