seeking primer on adding testsuite entries ...
Jeffrey A Law
law@cygnus.com
Sat Oct 31 16:39:00 GMT 1998
In message < 199810311548.KAA01250@caip.rutgers.edu >you write:
> I'd like to create some testsuite entries for gcc warnings,
> (i.e, testing if the warnings DTRT.)
>
> Would someone please let me know which docs are most appropriate
> to read on how to put this together? Eg, things like how to pass special
> flags to tests and how to specify expected output. Or just point out
> examples from the existing testsuite. (I'm willing to RTFM, I just
> don't know which FM to read.)
>
> Also where should tests I create go? Should I create a new
> directory?
For the gcc testsuite you'll want to use the "dg" framework. Examples
can be found in gcc.dg
lib/gcc-dg.exp and dg.exp in the dejagnu dist should have information on using
the dg framework.
jeff
More information about the Gcc
mailing list