[Chandler-dev] Chandler exits with error code 1 on script failure

Heikki Toivonen heikki at osafoundation.org
Mon Mar 5 16:29:35 PST 2007


I checked in a change in r13373 which will make Chandler exit with error
code 1 in case functional or performance tests fail. It will also exit
with 1 if any script execution raises an exception.

Unit tests already behave in this manner.

This unification makes it much easier to catch test failures in test
driving scripts. do_tests.sh greps test output to find success, but with
rt.py we can just check the return value.

-- 
  Heikki Toivonen


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : http://lists.osafoundation.org/pipermail/chandler-dev/attachments/20070305/f643df07/signature.pgp


More information about the chandler-dev mailing list