Re: syntactically comprehensive test program
- From: Keith Thompson <kst-u@xxxxxxx>
- Date: Wed, 28 Feb 2007 12:06:10 -0800
"santosh" <santosh.k83@xxxxxxxxx> writes:
nob...@xxxxxxxxx wrote:
I need a syntactically comprehensive test program to test a C parser
on. Does anyone know where I might find a program that uses all
syntactical elements of the language and combines them in cunning/
realistic ways so that one might be confident that a pass on this
program will mean a pass on any valid C program.
Big ask, but I thought someone might know of a suitable file(s).
gcc comes bundled with it's own test routines. I also think P.J.
Plauger's dinkumware.com offers to certify compilers and libraries for
standard conformance.
I haven't looked at gcc's test suite. I'm sure it includes tests for
gcc-specific extensions. Before using it, make sure that those tests
are cleanly separated from the ones that use only standard C.
--
Keith Thompson (The_Other_Keith) kst-u@xxxxxxx <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"
.
- References:
- syntactically comprehensive test program
- From: nobrow
- Re: syntactically comprehensive test program
- From: santosh
- syntactically comprehensive test program
- Prev by Date: Re: could you help me about this problem?
- Next by Date: Re: Redirecting stderr
- Previous by thread: Re: syntactically comprehensive test program
- Next by thread: Re: syntactically comprehensive test program
- Index(es):
Relevant Pages
|