[Dev] new method to run all unit, functional and performance tests

Mike Taylor bear at code-bear.com
Fri Oct 7 10:58:36 PDT 2005


Given that we have more tests now that can be run and more ways to run 
said tests I decided to copy some of the work I use for tbox tests into 
a stand-alone script for devs to use.

In the chandler/tools/ directory you will find a new bash script called 
do_tests.sh and if you run it like this:

./tools/do_tests.sh .

It will walk thru all unit tests (running them like hardhat does) and 
all CATS functional tests and run them.  This script does not update 
your chandler source tree in any way (well, except to update the CATS 
stuff) and outputs everything to the console.

I've also added a new Makefile target to do the above:

make tests

There are two environment variables you can set to control which CATS 
tests it will perform:

CHANDLER_PERFORMANCE_TEST=yes
CHANDLER_FUNCTIONAL_TEST=no

Let me know if this helps or if you spot any bugs in it :)

---
Bear

Build and Release Engineer
Open Source Applications Foundation (OSAF)
bear at osafoundation.org
http://www.osafoundation.org

bear at code-bear.com
http://code-bear.com

PGP Fingerprint = 9996 719F 973D B11B E111  D770 9331 E822 40B3 CD29

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.osafoundation.org/pipermail/dev/attachments/20051007/480f1054/PGP.pgp


More information about the Dev mailing list