
On Wed, 2013-10-09 at 00:51 +0200, Guiu Rocafort wrote:
Hi ! I've been looking at the GSOC and after solving a few problems I can run the tests now. Now I have to find out a way to update the tests.
I was able to run the tests without too much trouble... however I did not have a set of "good" PNGs to test against... so I gave up and went back to using the latest SVG 1.1 test suite.
To update the tests, I think you just need to put the new SVG files into the directory with the existing SVG files and then create reference PNGs in the appropriate files (known good rendering, known bad rendering). You can't just use the reference PNG files from the SVG test suite for doing automated pixel-by-pixel comparison as the results depend on the font used. (The SVG2 test suite will use a WOFF font, I think, to avoid this problem.) The existing files from the SVG test suite should be replaced by the files from the latest version of the SVG 1.1 2nd Ed test suite.
I've set a personal branch in my launchpad account with the changes I made to the original code. https://code.launchpad.net/~neandertalspeople/+junk/inkscape-testsuite
After updating the test I'll try to find a way to automate the tests, and perform them regulaly. What do you think about that ? Any idea about how that could be done ? Maybe it is possible to set some kind of trigger when there is a commit in the launchpad inkscape trunk ?
This would be awesome.
Tav