Skip to content
Extraits de code Groupes Projets
Valider 0205ff12 rédigé par mattpiwik's avatar mattpiwik
Parcourir les fichiers

refs #3323 some ubuntu precise simply output ubuntu, lets try to widen the...

refs #3323 some ubuntu precise simply output ubuntu, lets try to widen the boxes that can run static images in tests

PS: all pdf tests on my box!

git-svn-id: http://dev.piwik.org/svn/trunk@7675 59fd770c-687e-43c8-a1e3-f5a4ff64c105
parent 4d4e354c
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -388,7 +388,7 @@ abstract class IntegrationTestCase extends PHPUnit_Framework_TestCase ...@@ -388,7 +388,7 @@ abstract class IntegrationTestCase extends PHPUnit_Framework_TestCase
/** /**
* Return true if system under test has the following characteristics : * Return true if system under test has the following characteristics :
* - php_uname() contains 'Linux precise32' * - php_uname() contains 'precise32' or 'ubuntu'
* - phpversion() contains '5.3.10' * - phpversion() contains '5.3.10'
* - 'GD Version' equals '2.0' * - 'GD Version' equals '2.0'
*/ */
...@@ -396,7 +396,7 @@ abstract class IntegrationTestCase extends PHPUnit_Framework_TestCase ...@@ -396,7 +396,7 @@ abstract class IntegrationTestCase extends PHPUnit_Framework_TestCase
{ {
$gdInfo = gd_info(); $gdInfo = gd_info();
return return
stristr(php_uname(),'Linux precise32') && (stristr(php_uname(), 'precise32') || stristr(php_uname(), 'ubuntu')) &&
stristr(phpversion(), '5.3.10') && stristr(phpversion(), '5.3.10') &&
$gdInfo['GD Version'] == '2.0'; $gdInfo['GD Version'] == '2.0';
} }
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter