mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 13:28:55 +00:00
[ticket/10716] Skip test if php is not in PATH.
PHPBB3-10716
This commit is contained in:
parent
8897efe087
commit
8ea52b5619
1 changed files with 8 additions and 0 deletions
|
@ -13,6 +13,14 @@ class phpbb_lint_test extends phpbb_test_case
|
||||||
|
|
||||||
static public function setUpBeforeClass()
|
static public function setUpBeforeClass()
|
||||||
{
|
{
|
||||||
|
$output = array();
|
||||||
|
$status = 1;
|
||||||
|
exec('php -v', $output, $status);
|
||||||
|
if ($status)
|
||||||
|
{
|
||||||
|
self::markTestSkipped("php is not in PATH or broken: $output");
|
||||||
|
}
|
||||||
|
|
||||||
self::$exclude = array(
|
self::$exclude = array(
|
||||||
// PHP Fatal error: Cannot declare class Container because the name is already in use in /var/www/projects/phpbb3/tests/../phpBB/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services1-1.php on line 20
|
// PHP Fatal error: Cannot declare class Container because the name is already in use in /var/www/projects/phpbb3/tests/../phpBB/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services1-1.php on line 20
|
||||||
// https://gist.github.com/e003913ffd493da63cbc
|
// https://gist.github.com/e003913ffd493da63cbc
|
||||||
|
|
Loading…
Add table
Reference in a new issue