To make the evolution and porting of the OSDK easier to manage, I started a "Test Suite" that will help track the regressions.
http://miniserve.getmyip.com/svn/public ... TestSuite/
The idea is simple: Run the suite with a particular version of the OSDK, running the tools on a known set of files and compute the MD5 of the generated files.
Then run the suite with another version of the tools, and check that the MD5 are identical.
I did it only for PictConv so far, but in time I will extend that to the other tools.
OSDK's test suite
- Hialmar
- Flight Lieutenant
- Posts: 349
- Joined: Tue Mar 04, 2014 11:25 am
- Location: Toulouse, France
- Contact:
Re: OSDK's test suite
That's a very good idea.
Last edited by Hialmar on Mon Feb 16, 2015 1:24 pm, edited 1 time in total.
-
- Squad Leader
- Posts: 774
- Joined: Sat May 21, 2011 7:21 pm
- Location: Between UK and France
- Contact:
Re: OSDK's test suite
But what if we made some optimisation on the produced code? This check will fail in this case
My Projects: Replic'Oric Project - StratoCumulus Project
Re: OSDK's test suite
Yes indeed, but in this case it's an expected failure: When this happen you run the tester in generation code and then you update the SVN depot with the updated MD5 list matching the new version of the code.Godzil wrote:But what if we made some optimisation on the produced code? This check will fail in this case