[Fusionforge-commits] r10692 - trunk
Roland Mas
lolando at libremir.placard.fr.eu.org
Sat Sep 25 18:38:30 CEST 2010
Author: lolando
Date: 2010-09-25 18:38:29 +0200 (Sat, 25 Sep 2010)
New Revision: 10692
Modified:
trunk/Makefile
Log:
make check now returns non-zero in case of error, allowing for "make check && do_something"
Modified: trunk/Makefile
===================================================================
--- trunk/Makefile 2010-09-25 16:19:33 UTC (rev 10691)
+++ trunk/Makefile 2010-09-25 16:38:29 UTC (rev 10692)
@@ -45,7 +45,7 @@
check:
## To run test in verbose mode :
#cd tests ; phpunit --verbose unit; phpunit --verbose code;
- cd tests ; php AllTests.php
+ cd tests ; php AllTests.php | perl -p -e '$$e=1 if /FAILURE/ ; END { exit 1 if $$e }'
checkfull:
## To run test in verbose mode :
More information about the Fusionforge-commits
mailing list