This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: GCC testsuite philosophy?


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]