From badcc319272fb9d5cda7f12bee04467bfdbfcb50 Mon Sep 17 00:00:00 2001 From: Vladimir Kolesnikov Date: Thu, 10 Oct 2013 08:53:37 +0300 Subject: [PATCH] Use phpunit instead of manual-unit; less noise in the build log --- ext/Makefile.frag | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ext/Makefile.frag b/ext/Makefile.frag index adb24321397..fd9bda2db23 100644 --- a/ext/Makefile.frag +++ b/ext/Makefile.frag @@ -7,11 +7,11 @@ unit-tests: all -@if test ! -z "$(PHP_EXECUTABLE)" && test -x "$(PHP_EXECUTABLE)"; then \ NO_INTERACTION=1 TEST_PHP_USER="$(srcdir)/tests/" $(MAKE) test && \ $(MAKE) install && \ - (cd "$(top_srcdir)/../"; $(PHP_EXECUTABLE) unit-tests/manual-unit.php) \ + (cd "$(top_srcdir)/../"; $(PHP_EXECUTABLE) $(phpenv which php) ./unit-tests/ci/phpunit.php -c unit-tests/phpunit.xml) \ else \ echo "ERROR: Cannot run tests without CLI sapi."; \ fi coverage: unit-tests clean-coverage - $(LCOV) --directory . --capture --base-directory=. --output-file .coverage - $(GENHTML) --legend --output-directory coverage/ --title "Phalcon code coverage" .coverage + $(LCOV) --quiet --directory . --capture --base-directory=. --output-file .coverage + $(GENHTML) --quiet --legend --output-directory coverage/ --title "Phalcon code coverage" .coverage