This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC testsuite philosophy?
- To: Stan Shebs <shebs at apple dot com>
- Subject: Re: GCC testsuite philosophy?
- From: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Date: Wed, 21 Mar 2001 07:32:11 +0000
- Cc: gcc at gcc dot gnu dot org
- References: <3AB800D8.CF71331D@apple.com>
Stan Shebs wrote:-
> For compile tests, I wanted to get a warning and match on it to
> make sure it's the right message, but it seems that the c-torture
> expect script always passes -w, which kind of defeats the purpose. :-)
You can override options; with the c-torture stuff via a testfilename.x
file with the appropriate magic (which I can't remember offhand), and
with a { dg-options "my options" } for the .dg format. You should be
able to find examples of both; certainly plenty of the .dg format exist
in the gcc.dg/cpp directory.
Neil.