Re: Parser validation/test suites ?

Hans-Peter Diettrich <>
10 Aug 2006 15:46:24 -0400

          From comp.compilers

Related articles
Parser validation/test suites ? (Kenn Heinrich) (2006-08-09)
Re: Parser validation/test suites ? (Karsten Nyblad) (2006-08-10)
Re: Parser validation/test suites ? (Hans-Peter Diettrich) (2006-08-10)
Re: Parser validation/test suites ? (Colin Paul Gloster) (2006-08-14)
Re: Parser validation/test suites ? (2006-08-14)
| List of all articles for this month |

From: Hans-Peter Diettrich <>
Newsgroups: comp.compilers
Date: 10 Aug 2006 15:46:24 -0400
Organization: Compilers Central
References: 06-08-043
Keywords: testing
Posted-Date: 10 Aug 2006 15:46:23 EDT

Kenn Heinrich wrote:

> And how would you best indicate pass or fail? I've seen systems using
> special embedded comments that should match a compiler output, parsed
> out and chcked by a test suite dispatcher script, as well as systems
> that organize "good" source in one directory, "should fail with error
> XXX" sources in directory "XXX". What are some of the other schemes
> the masters recommend?

Test suites, for e.g. libraries, include files with the expected program
output. A compiler IMO can be tested just the same way, using the error
log for the output-to-match.


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.