-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2011-10-24 22:10, Marvin Humphrey wrote:
I propose we use the suffix "-regressiontest.pd" for tests, then we can have a script that crawls the whole pure-data SVN and runs the tests in place with the libraries they are part of. (-test.pd is already used a lot of places, so a new suffix would be better to avoid confusion).
how about adding a "check" target (which i think is the standard target to run regression tests) to the template/Makefile, in order to run the actual tests?
e.g. $ make check -C zexy make check-TESTS make[2]: Entering directory `/Net/iem/Benutzer/zmoelnig/src/cvs/pure-data/externals/zexy/tests' running tests in . ./absgn~/abs: OK [...] ./or~/dualnoise: OK ./or~/singlenoise: OK ./repeat/noargs: OK ./s2l/numsymbols: OK ./sgn~/simple: OK ./testtests/fail_noresult: failed ./testtests/fail: failed ./testtests/fail_wait0: failed ./testtests/fail_wait10: failed ./testtests/pass: OK ./testtests/pass_wait0: OK ./testtests/pass_wait10: OK 101 tests passed 4 tests failed ====================================== 105 regression-tests total 105 regression-tests passed 0 regression-tests failed ====================================== PASS: runtests.sh ============= 1 test passed =============