mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Merge remote-tracking branch 'naderman/ticket/10414' into develop
* naderman/ticket/10414: [ticket/10414] Skip functional tests on PHP 5.2 - requires PHPUnit 3.6 on 5.2
This commit is contained in:
commit
af11d94fb0
4 changed files with 17 additions and 1 deletions
|
@ -14,6 +14,10 @@
|
||||||
<testsuites>
|
<testsuites>
|
||||||
<testsuite name="phpBB Test Suite">
|
<testsuite name="phpBB Test Suite">
|
||||||
<directory suffix="_test.php">./tests/</directory>
|
<directory suffix="_test.php">./tests/</directory>
|
||||||
|
<exclude>./tests/functional</exclude>
|
||||||
|
</testsuite>
|
||||||
|
<testsuite name="phpBB Functional Tests">
|
||||||
|
<directory suffix="_test.php" phpVersion="5.3.0" phpVersionOperator=">=">./tests/functional</directory>
|
||||||
</testsuite>
|
</testsuite>
|
||||||
</testsuites>
|
</testsuites>
|
||||||
|
|
||||||
|
|
|
@ -14,6 +14,10 @@
|
||||||
<testsuites>
|
<testsuites>
|
||||||
<testsuite name="phpBB Test Suite">
|
<testsuite name="phpBB Test Suite">
|
||||||
<directory suffix="_test.php">./tests/</directory>
|
<directory suffix="_test.php">./tests/</directory>
|
||||||
|
<exclude>./tests/functional</exclude>
|
||||||
|
</testsuite>
|
||||||
|
<testsuite name="phpBB Functional Tests">
|
||||||
|
<directory suffix="_test.php" phpVersion="5.3.0" phpVersionOperator=">=">./tests/functional</directory>
|
||||||
</testsuite>
|
</testsuite>
|
||||||
</testsuites>
|
</testsuites>
|
||||||
|
|
||||||
|
|
|
@ -14,6 +14,10 @@
|
||||||
<testsuites>
|
<testsuites>
|
||||||
<testsuite name="phpBB Test Suite">
|
<testsuite name="phpBB Test Suite">
|
||||||
<directory suffix="_test.php">./tests/</directory>
|
<directory suffix="_test.php">./tests/</directory>
|
||||||
|
<exclude>./tests/functional</exclude>
|
||||||
|
</testsuite>
|
||||||
|
<testsuite name="phpBB Functional Tests">
|
||||||
|
<directory suffix="_test.php" phpVersion="5.3.0" phpVersionOperator=">=">./tests/functional</directory>
|
||||||
</testsuite>
|
</testsuite>
|
||||||
</testsuites>
|
</testsuites>
|
||||||
|
|
||||||
|
|
|
@ -39,4 +39,8 @@ require_once 'test_framework/phpbb_test_case_helpers.php';
|
||||||
require_once 'test_framework/phpbb_test_case.php';
|
require_once 'test_framework/phpbb_test_case.php';
|
||||||
require_once 'test_framework/phpbb_database_test_case.php';
|
require_once 'test_framework/phpbb_database_test_case.php';
|
||||||
require_once 'test_framework/phpbb_database_test_connection_manager.php';
|
require_once 'test_framework/phpbb_database_test_connection_manager.php';
|
||||||
|
|
||||||
|
if (version_compare(PHP_VERSION, '5.3.0-dev', '>='))
|
||||||
|
{
|
||||||
require_once 'test_framework/phpbb_functional_test_case.php';
|
require_once 'test_framework/phpbb_functional_test_case.php';
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue