[Fusionforge-commits] FusionForge branch master updated. 8c768e8d9e769e0d372e9c3ce845cfa9702e471c

Roland Mas lolando at fusionforge.org
Fri Nov 14 14:20:01 CET 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, master has been updated
       via  8c768e8d9e769e0d372e9c3ce845cfa9702e471c (commit)
      from  0452075fea3a382bcf8f96e6cf5e7299bda7c5b6 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 8c768e8d9e769e0d372e9c3ce845cfa9702e471c
Author: Roland Mas <lolando at debian.org>
Date:   Fri Nov 14 14:19:52 2014 +0100

    Added autoload to fix code coverage tests

diff --git a/tests/buildbot/fusionforge-unittests.sh b/tests/buildbot/fusionforge-unittests.sh
index 15113cd..ee59bdb 100755
--- a/tests/buildbot/fusionforge-unittests.sh
+++ b/tests/buildbot/fusionforge-unittests.sh
@@ -9,11 +9,9 @@ prepare_workspace
 
 # apt-get install pcregrep moreutils xalan
 cd tests
-# phpunit --log-junit $WORKSPACE/reports/phpunit.xml \
-#	--coverage-clover $WORKSPACE/reports/coverage/clover.xml \
-#	--coverage-html $WORKSPACE/reports/coverage/ \
-#	code_and_unit_tests.php
 phpunit --log-junit $WORKSPACE/reports/phpunit.xml \
+	--coverage-clover $WORKSPACE/reports/coverage/clover.xml \
+	--coverage-html $WORKSPACE/reports/coverage/ \
 	code_and_unit_tests.php
 cp $WORKSPACE/reports/phpunit.xml $WORKSPACE/reports/phpunit.xml.org
 xalan -in $WORKSPACE/reports/phpunit.xml.org -xsl unit/fix_phpunit.xslt \
diff --git a/tests/code_and_unit_tests.php b/tests/code_and_unit_tests.php
index ce3b7c2..242f478 100644
--- a/tests/code_and_unit_tests.php
+++ b/tests/code_and_unit_tests.php
@@ -8,6 +8,8 @@ if (!@include_once 'PHPUnit/Autoload.php') {
 	require_once 'PHPUnit/TextUI/TestRunner.php';
 }
 
+ at include_once 'PHP/Token/Stream/Autoload.php';
+
 class AllTests
 {
 	public static function main()

-----------------------------------------------------------------------

Summary of changes:
 tests/buildbot/fusionforge-unittests.sh |    6 ++----
 tests/code_and_unit_tests.php           |    2 ++
 2 files changed, 4 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list