[PATCH] objc testsuite
Elena Zannoni
ezannoni@redhat.com
Mon Jun 23 20:36:00 GMT 2003
Elena Zannoni writes:
>
> Instead of calling gdb_suppress_entire_file, let's just return -1, so we
> get an UNSUPPORTED test instead of a lot of FAILs.
>
[summer cleaning]
I checked this in, both mainline and branch.
elena
> 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
> }
>
> #
More information about the Gdb-patches
mailing list