aboutsummaryrefslogtreecommitdiffstats
path: root/phpunit.xml.dist
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2011-10-17 06:52:34 +0200
committerNils Adermann <naderman@naderman.de>2011-10-17 06:52:34 +0200
commit9c861a0350ae67f06a38ee6efc890412a32751f4 (patch)
tree43b41002184c70102d294f670c485b0ff07cf251 /phpunit.xml.dist
parent2d42dbc385c500e185059d1b503cc0c35ca71a0f (diff)
downloadforums-9c861a0350ae67f06a38ee6efc890412a32751f4.tar
forums-9c861a0350ae67f06a38ee6efc890412a32751f4.tar.gz
forums-9c861a0350ae67f06a38ee6efc890412a32751f4.tar.bz2
forums-9c861a0350ae67f06a38ee6efc890412a32751f4.tar.xz
forums-9c861a0350ae67f06a38ee6efc890412a32751f4.zip
[ticket/10414] Skip functional tests on PHP 5.2 - requires PHPUnit 3.6 on 5.2
Tests still execute correctly using PHPUnit 3.5 on PHP 5.3 and above. The php version limitation for a directory was added in PHPUnit 3.6. A separate test suite is required because the functional tests are in the whitelisted tests directory. The base test for functional testing is only included in bootstrap in versions 5.3 and above. PHPBB3-10414
Diffstat (limited to 'phpunit.xml.dist')
-rw-r--r--phpunit.xml.dist4
1 files changed, 4 insertions, 0 deletions
diff --git a/phpunit.xml.dist b/phpunit.xml.dist
index 27dee48aac..da31dce5e3 100644
--- a/phpunit.xml.dist
+++ b/phpunit.xml.dist
@@ -14,6 +14,10 @@
<testsuites>
<testsuite name="phpBB Test Suite">
<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>
</testsuites>