On Sun, 2008-03-02 at 19:38 -0500, Dan McMahill wrote:

> The framework in the spice-sdb area is based on what I did for latex-mk 
> (yet another oss project of mine) and in latex-mk it worked fairly well. 
>   We used pretty much the same approach in gerbv and I think it is 
> working there.  We can probably add any needed extensions to make it 
> work for all of the gnetlist tests.  Basically the idea is you have a 
> text file that defines each test.  The test is given a name, some data 
> like input files, extra command line arguments, and an expected exit 
> code.

Different backends can return with a different exit code. For my hack, I
moved the exit code checking to a file per backend.

>  Then there is a script which goes over each test and runs it. 
> The script has hooks in there for easily regenerating "golden" files.

I think there were some bugs in the pass / fail counting, either that or
I broke it when I worked through it. I wasn't sure if the exit code was
supposed to be counted as a separate failure to the output being
different or not.

-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)



_______________________________________________
geda-dev mailing list
[email protected]
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev

Reply via email to