Re: Grammar Requires Backtracking
William Ahern <[email protected]> Sun, 18 Apr 2010 11:01:46 -0700
| Newsgroups | gmane.mail.spam.spf.devel |
|---|---|
| Message-ID | <[email protected]> |
On Sun, Apr 18, 2010 at 04:26:35PM +0200, Alessandro Vesely wrote: <snip> > >I gratuitously wrote an RFC 1035 master file parser and composer in C (w/ > >Ragel), and am of course parsing the YAML tests from C (w/ libyaml). So if > >anybody was waiting for the ability to generate zone files from the test > >suite, it's all but done--rfc4408-tests.c in my regress/ directory already > >spits out the zones files, the code would just need to be tweaked to output > >them in a more useful manner than as part of the debug output for failed > >tests. > > How would that work for running the test suite, given that you need > different zones --with conflicting names-- for different tests? it wouldn't directly. but there are only 15 groups of tests, so it might be useful for implementations forced to run the test suite the hard way, by reloading zone data into BIND or NSD between test groups.