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: seeking primer on adding testsuite entries ...



  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


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