gunnar: server Makefile,1.76,1.77
cvs at kolab.org
cvs at kolab.org
Fri Apr 24 09:34:45 CEST 2009
Author: gunnar
Update of /kolabrepository/server
In directory doto:/tmp/cvs-serv13496
Modified Files:
Makefile
Log Message:
Start reducing the test script output.
Index: Makefile
===================================================================
RCS file: /kolabrepository/server/Makefile,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -d -r1.76 -r1.77
--- Makefile 24 Feb 2009 15:05:53 -0000 1.76
+++ Makefile 24 Apr 2009 07:34:43 -0000 1.77
@@ -169,7 +169,13 @@
.PHONY: test
test:
- for TEST in $(PHPUNIT_TESTS); \
- do \
- $(PHPUNIT) $$TEST; \
+ @for TEST in $(PHPUNIT_TESTS); \
+ do \
+ $(PHPUNIT) -d log_errors=1 -d error_log="/tmp/$${TEST//\//_}-php-errors.log" $$TEST 2>&1 | tee -a /tmp/$${TEST//\//_}-phpunit.log | grep "^OK" > /dev/null || PHPUNIT="FAIL"; \
+ if [ -n "$$PHPUNIT" ]; then \
+ echo; \
+ echo "FAIL ($$TEST): Some phpunit tests failed!"; \
+ else \
+ echo -n "."; \
+ fi; \
done
More information about the commits
mailing list