OSDK's test suite

Questions, bug reports, features requests, ... about the Oric Software Development Kit. Please indicate clearly in the title the related element (OSDK for generic questions, PictConv, FilePack, XA, Euphoric, etc...) to make it easy to locate messages.

Post Reply
User avatar
Dbug
Site Admin
Posts: 2360
Joined: Fri Jan 06, 2006 10:00 pm
Location: Oslo, Norway
Contact:

OSDK's test suite

Post by Dbug » Sat Feb 14, 2015 9:21 pm

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.

User avatar
Hialmar
Flight Lieutenant
Posts: 318
Joined: Tue Mar 04, 2014 11:25 am
Location: Toulouse, France
Contact:

Re: OSDK's test suite

Post by Hialmar » Sat Feb 14, 2015 10:02 pm

That's a very good idea.
Last edited by Hialmar on Mon Feb 16, 2015 1:24 pm, edited 1 time in total.
Hialmar
CEO and Silicium member.

Godzil
Squad Leader
Posts: 755
Joined: Sat May 21, 2011 7:21 pm
Location: Between UK and France
Contact:

Re: OSDK's test suite

Post by Godzil » Mon Feb 16, 2015 10:47 am

But what if we made some optimisation on the produced code? This check will fail in this case

User avatar
Dbug
Site Admin
Posts: 2360
Joined: Fri Jan 06, 2006 10:00 pm
Location: Oslo, Norway
Contact:

Re: OSDK's test suite

Post by Dbug » Mon Feb 16, 2015 5:31 pm

Godzil wrote:But what if we made some optimisation on the produced code? This check will fail in this case
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.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests