[PATCH] Testsuite adaptions for AVR in gcc.c-torture/compile

Björn Haase bjoern.m.haase@web.de
Tue Apr 19 19:28:00 GMT 2005


Am Dienstag, 19. April 2005 00:30 schrieb Janis Johnson:
>
> Do you have an FSF copyright assignment?  I should have asked that
> question right away.
>
Yes.

> The default dg-do action for tests in gcc.c-torture/compile is
> 'assemble'.  There's no need to leave in 'dg-do assemble' by itself,
> and no reason to add 'dg-do compile' unless the test should not be
> assembled.
I thought that there is a requirement for a dg-do comment before
one could make use of the other keywords. I have now removed the 
"dg-do"s.

> Most of the tests you're changing to XFAIL should be skipped instead,
> but the support for skipping tests for specific options is quite new.
> A test should be an expected failure only if it fails due to a bug;
> if the functionality will never be supported for that target then it
> can be skipped instead.  In these tests, the existing xfails look to
> me as if they can be skips.
I now have used dg-skip-if for test cases where, e.g. memory requirement
is larger than possibly ever available but xfail if I think that in the future 
there might be processors with sufficient memory.

Yours,

Björn


2004-04-15 Bjoern Haase <bjoern.m.haase@web.de>

	* gcc.c-torture/compile/20001226-1.c: Clean up and skip avr-*-*,
	hc11,hc12 and xtensa.
	* gcc.c-torture/compile/20010226-1.c: Add effective target trampolines
	* gcc.c-torture/compile/nested-1.c: Ditto.
	* gcc.c-torture/compile/20050122-2.c: Ditto.
        * gcc.c-torture/compile/20011119-1.c: Add dg-require-alias
	* gcc.c-torture/compile/981001-2.c: Ditto.
	* gcc.c-torture/compile/20011119-2.c: Ditto.
	* gcc.c-torture/compile/20020604-1.c: Clean up and xfail avr-*-*
	* gcc.c-torture/compile/20010327-1.c: Ditto.
        * gcc.c-torture/compile/980506-1.c: Ditto.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: testsuite_adaptions_in_ctorture_compile.patch.rev3
Type: text/x-diff
Size: 8005 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20050419/4cebf6a9/attachment.bin>


More information about the Gcc-patches mailing list