This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [testsuite]: Skip tests for targets with int < 32 bits
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Georg-Johann Lay <avr at gjlay dot de>
- Cc: Mike Stump <mikestump at comcast dot net>, gcc-patches at gcc dot gnu dot org, Kaz Kojima <kkojima at gcc dot gnu dot org>, Jakub Jelinek <jakub at redhat dot com>, Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot de>
- Date: Mon, 13 Jun 2011 20:23:31 +0200
- Subject: Re: [testsuite]: Skip tests for targets with int < 32 bits
- References: <4DF0F48C.2050308@gjlay.de> <691C71AE-DCA3-4061-8904-C6F970618B17@comcast.net> <4DF6548C.2030207@gjlay.de>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Mon, Jun 13, 2011 at 08:18:52PM +0200, Georg-Johann Lay wrote:
> For exammple, I added this line to, e.g.
> * gcc.c-torture/execute/cmpsi-2.c
> * gcc.c-torture/execute/pr45262.c
> in trunk r172757
> http://gcc.gnu.org/viewcvs?view=revision&revision=172757
That was a mistake.
gcc.c-torture/execute/ doesn't use the dg framework, you need
to instead add cmpsi-2.x resp. pr45262.x file alongside with
the testcase. Look at other *.x files there for details on how they look
like.
Jakub