[Fusionforge-commits] r8894 - trunk

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Mon Mar 1 21:48:58 CET 2010


Author: aljeux
Date: 2010-03-01 21:48:57 +0100 (Mon, 01 Mar 2010)
New Revision: 8894

Modified:
   trunk/Makefile
Log:
Fix find error when directory is not present (in build full tests)

Modified: trunk/Makefile
===================================================================
--- trunk/Makefile	2010-03-01 20:20:46 UTC (rev 8893)
+++ trunk/Makefile	2010-03-01 20:48:57 UTC (rev 8894)
@@ -50,8 +50,8 @@
 	cp $(BUILDDIR)/reports/phpunit.xml $(BUILDDIR)/reports/phpunit.xml.org; xalan -in $(BUILDDIR)/reports/phpunit.xml.org -xsl fix_phpunit.xslt -out $(BUILDDIR)/reports/phpunit.xml
 
 build-full-tests:
+	mkdir -p $(BUILDDIR)/build/packages $(BUILDDIR)/reports/coverage
 	find $(BUILDDIR)/build/packages -type f -exec rm -f  {} \;
-	mkdir -p $(BUILDDIR)/reports/coverage
 	phpdoc --title 'API Documentation' -ue on -t $(BUILDDIR)/apidocs -d gforge/common -tb '/usr/share/php/data/phpUnderControl/data/phpdoc' -o HTML:Phpuc:phpuc
 	-phpcs --tab-width=4 --standard=PEAR --report=checkstyle gforge/common > $(BUILDDIR)/reports/checkstyle.xml
 	cd tests; phpunit --log-xml $(BUILDDIR)/reports/phpunit.xml --log-pmd $(BUILDDIR)/reports/phpunit.pmd.xml --coverage-clover $(BUILDDIR)/reports/coverage/clover.xml --coverage-html $(BUILDDIR)/reports/coverage/ AllFullTests.php




More information about the Fusionforge-commits mailing list