gEDA-dev: o_invalidate_rect() and extra margin for the line width
Dan McMahill
dan at mcmahill.net
Sun Mar 2 19:38:17 EST 2008
Peter Clifton wrote:
> We should probably do 1.4.1 soon actually. I hope to get the gnetlist
> test suite in before then, and Ales wanted intltool disabling - which I
> agree is probably a good idea.
Is this a new test suite or additions to what is there?
I've been wanting to rework it a bit. Portions require gnetlist to be
installed first which is a bit backwards. Also I think there are some
remaining issues around building outside the source tree. It should all
be fixable though. I do think it would be good to move all the gnetlist
tests into the same framework though. That makes maintaining it much
easier. We probably should also make it so it runs all of the tests and
then reports how many passed and how many failed. Currently the tests
stop on the first failure which is a bit annoying.
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. Then there is a script which goes over each test and runs it.
The script has hooks in there for easily regenerating "golden" files.
-Dan
More information about the geda-dev
mailing list