Related articles |
---|
Testing C Compiler camille@bluegrass.net (camille@bluegrass.net) (2008-03-30) |
Re: Testing C Compiler kevin.phillips83@yahoo.com (kphillips) (2008-03-31) |
Re: Testing C Compiler carlo.salinari@gmail.com (Carlo Salinari) (2008-03-31) |
Re: Testing C Compiler ArarghMail803@Arargh.com (2008-03-31) |
Re: Testing C Compiler bfranke@inf.ed.ac.uk (=?ISO-8859-1?Q?Bj=F6rn_Franke?=) (2008-04-04) |
Re: Testing C Compiler mayan@bestweb.net (Mayan Moudgill) (2008-04-05) |
From: | Carlo Salinari <carlo.salinari@gmail.com> |
Newsgroups: | comp.compilers |
Date: | Mon, 31 Mar 2008 07:40:48 -0700 (PDT) |
Organization: | Compilers Central |
References: | 08-03-118 |
Keywords: | C, testing |
Posted-Date: | 31 Mar 2008 20:46:12 EDT |
> I'm trying to find out if I can find standardized tests that will
> help, or if I'm just going to have to download every program I can
> find and compile it to see what happens.
Hi David,
gcc comes with a rather large test suite. Have a look at:
http://gcc.gnu.org/viewcvs/trunk/gcc/testsuite/
that could be a good starting point. Probably you could look at other
open compiler projects as well, such as pcc or llvm:
http://en.wikipedia.org/wiki/Portable_C_Compiler
http://llvm.org/docs/TestingGuide.html#wholeprograms
this is an example of how the tinyc compiler tests himself against the
gcc testsuite:
http://cvs.savannah.nongnu.org/viewvc/tinycc/gcctestsuite.sh?root=tinycc&view=markup
Bye,
Carlo
Return to the
comp.compilers page.
Search the
comp.compilers archives again.