[PD-dev] 'tests' section of pure-data/trunk svn?

IOhannes m zmoelnig zmoelnig at iem.at
Mon Oct 24 22:27:17 CEST 2011


-----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
=============
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6lyiIACgkQkX2Xpv6ydvRpdACffqfXHS0o4nUIqDsFzeIMMTpE
I2YAoO5Hjpi/MGQzx6DyOiCp79uqyBmU
=K23z
-----END PGP SIGNATURE-----

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3636 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20111024/cd8c4bd2/attachment.bin>


More information about the Pd-dev mailing list