On Apr 26, 2006, at 10:27 AM, IOhannes m zmölnig wrote:
IOhannes m zmölnig wrote:
Update of /cvsroot/pd-gem/Gem/tests/all In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27143 Added Files: existence.pd existence.sh objects.txt Log Message: a simple test that tests for all Gem objects (as listed in objects.txt); no tests are performed on vertex/-objects and on markEx/-objects
i checked in an abstraction which reads a list of objects which it tries to create and destroy. this might be useful if somebody wants to test, whether a given build has all objects in it (for those who don't use autoconf).
caveats: an object that does crash, also crashes the test. however, at least you get some notion on whether the object crashes at construction or destruction. the object automatically quits pd after all tests have been performed.
the shell-script is an example of how to use this object.
I wrote a shell script to do the same thing, but it automatically generates the patch to load each object.
scripts/load_every_help.sh scripts/load_every_object.sh
When I get back to New York in June, I am planning on setting up a Pd build server that will automatically run these scripts every night so we can start catching crasher bugs and missing objects and help patches.
We should join efforts. Plus, Matju is working on his testing framework.
.hc
________________________________________________________________________ ____
"I have the audacity to believe that peoples everywhere can have three meals a day for their bodies, education and culture for their minds, and dignity, equality and freedom for their spirits." - Martin Luther King, Jr.