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)
[EMAIL PROTECTED]
http://www.osafoundation.org

[EMAIL PROTECTED]
http://code-bear.com

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

Attachment: PGP.sig
Description: This is a digitally signed message part

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Open Source Applications Foundation "Dev" mailing list
http://lists.osafoundation.org/mailman/listinfo/dev

Reply via email to