[Clam-devel] how-to run the automatic tests + clam-test-data repository

Pau Arumi parumi at iua.upf.edu
Thu Jul 26 01:27:14 PDT 2007


Hi, I added a "Pass the automatic tests" section in the devel
wiki (copied below).
The clam-test-data repository have been updated and now it should
pass all the tests (unless on Mac which gives some precision
related erros). Linux users, could you provide feedback if you 
get errors?
Another important news is the same commit access for clam works
for clam-test-data. So if you need, say, store a synth sampler
database use this repo. If you add new back-to-back tests also
add the backing data there.

Cheers!
pau


http://clam.iua.upf.edu/wikis/clam/index.php/Devel#Pass_the_automatic_tests

Checkout the clam test-data repository:

$ svn co https://iua-share.upf.edu/svn/clam-test-data/trunk 
clam-test-data


Change dir to CLAM/test and compile with scons providing the 
following options (no installation step is needed):
     * clam_prefix --which is the prefix where you installed clam.
       /usr/local by default
     * test_data_path --the path to the clam-test-data sandbox
       (local copy of the repository).

For example:

$ scons clam_prefix=~/local test_data_path=~/clam-test-data

Then execute unit and functional tests:

$ ./UnitTests/UnitTests
$ ./FunctionalTests/FunctionalTests




More information about the clam-devel mailing list