This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Proper way to make a one-off multi-file testcase?
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Joern Rennecke <joernr at arc dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 30 Jan 2008 22:51:25 +0100
- Subject: Re: Proper way to make a one-off multi-file testcase?
- References: <20080130211814.GB8600@elsdt-razorfish.arc.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Wed, Jan 30, 2008 at 09:18:14PM +0000, Joern Rennecke wrote:
> However, AFAIK having multiple source files is at odds with a simple test.
If noinline attribute doesn't help, then you can use
/* { dg-additional-sources "..." } */
(just grep for dg-additional-sources in testsuite/gcc.dg/*.c to see how it is
used).
Jakub