the test suite

Posted on
Picture of user. mspiegel Joined: 07/31/2009

A gentle reminder that scripts must live in either the models/passing, models/failing, or demo/ directories, and in exactly one of these locations. Duplicating the files causes "make test" to run longer than necessary (which is a nuisance), but also forces the developers to make corrections to an existing script in two locations (which they will forget to do). Use the "svn mv" command when moving files in subversion. Also, when adding a script to the /demo directory, remember to update demo/00INDEX, although people have been good about that lately.

Replied on Tue, 08/25/2009 - 16:23
Picture of user. mspiegel Joined: Jul 31, 2009

Also, all the scripts in the /demo and models/passing directories should work, all the scripts in the test suite should contain omxCheckCloseEnough() statements, and all commits to the repository should be preceded by a successful execution of "make test".

Replied on Wed, 12/15/2010 - 14:42
Picture of user. mspiegel Joined: Jul 31, 2009

I've added the optional argument "CPUS=n" to the "make test" target of the Makefile. When the argument is used, the test suite will be executed using n cores on your machine. The only downside is the progress messages no longer appear. But the test suite executes in approximately (1/n) the amount of time as the sequential execution.