Skip to:
Content

bbPress.org


Ignore:
Timestamp:
01/12/2017 07:04:27 AM (9 years ago)
Author:
netweb
Message:

Unit Tests: Don't run BuddyPress PHPUnit tests on PHP 5.2.x

Previously r6204 attempted to skip BuddyPress tests if the PHP version was less than 5.3.0, this didn't work as intended as BuddyPress was still being loaded, the change would have only skipped tests rather than completely excluding the BuddyPress PHPUnit test suite from running on PHP versions less than 5.3.0.

This changeset reverts r6204 and separates the grunt test tasks into individual WordPress and BuddyPress PHPUnit Grunt tasks, this gives us the ability to explicitly exclude BuddyPress PHPUnit test suite from running on PHP 5.2.

See also https://bpdevel.wordpress.com/2016/07/21/php-5-2-bp-2-8-and-php-support-guidelines/

Fixes #3037.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/buddypress.xml

    r6204 r6217  
    1212    <testsuites>
    1313        <testsuite>
    14             <directory suffix=".php" phpVersion="5.3.0" phpVersionOperator=">=">./testcases/</directory>
     14            <directory suffix=".php">./testcases/</directory>
    1515        </testsuite>
    1616    </testsuites>
Note: See TracChangeset for help on using the changeset viewer.