[Fusionforge-commits] FusionForge branch master updated. cc660d52509b80c3b1fcc7f4898b340c3fe8c89f

Christian Bayle cbayle at fusionforge.org
Thu Nov 22 20:51:40 CET 2012

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  cc660d52509b80c3b1fcc7f4898b340c3fe8c89f (commit)
      from  c6c8c05e9da6455ed3942287cd730d4b27b8aaef (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 cc660d52509b80c3b1fcc7f4898b340c3fe8c89f
Author: Christian Bayle <chris at bayle.eu>
Date:   Thu Nov 22 20:51:03 2012 +0100

    Fix include failure, by using autoload

diff --git a/tests/TarCentosTests.php b/tests/TarCentosTests.php
index 6a8c4e9..b416ec7 100755
--- a/tests/TarCentosTests.php
+++ b/tests/TarCentosTests.php
@@ -3,8 +3,10 @@ if (!defined('PHPUnit_MAIN_METHOD')) {
 	define('PHPUnit_MAIN_METHOD', 'AllTests::main');
-require_once 'PHPUnit/Framework.php';
-require_once 'PHPUnit/TextUI/TestRunner.php';
+if (!@include_once 'PHPUnit/Autoload.php') {
+	require_once 'PHPUnit/Framework.php';
+	require_once 'PHPUnit/TextUI/TestRunner.php';
 require_once 'func/Testing/TarSeleniumRemoteSuite.php';
 class TarCentosTests


Summary of changes:
 tests/TarCentosTests.php |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)


More information about the Fusionforge-commits mailing list