* (bug 19186) Special:UserLogin's title on Special:SpecialPages now says
"create account" when the user cannot create an account
* (bug 31818) 'usercreated' message now supports GENDER
+* (bug 32022) Our phpunit.php script can now be executed from another directory
=== API changes in 1.19 ===
* (bug 19838) siprop=interwikimap can now use the interwiki cache.
# Probably fix bug 29226
$command->arguments['colors'] = false;
}
+
+ # Makes MediaWiki PHPUnit directory includable so the PHPUnit will
+ # be able to resolve relative files inclusion such as suites/*
+ # PHPUnit uses stream_resolve_include_path() internally
+ # See bug 32022
+ set_include_path(
+ dirname( __FILE__ )
+ .PATH_SEPARATOR
+ . get_include_path()
+ );
+
$command->run($_SERVER['argv'], $exit);
}
verbose="true">
<testsuites>
<testsuite name="includes">
- <directory>./includes</directory>
+ <directory>includes</directory>
</testsuite>
<testsuite name="languages">
- <directory>./languages</directory>
+ <directory>languages</directory>
</testsuite>
<testsuite name="skins">
- <directory>./skins</directory>
+ <directory>skins</directory>
</testsuite>
<testsuite name="uploadfromurl">
- <file>./suites/UploadFromUrlTestSuite.php</file>
+ <file>suites/UploadFromUrlTestSuite.php</file>
</testsuite>
<testsuite name="extensions">
- <file>./suites/ExtensionsTestSuite.php</file>
+ <file>suites/ExtensionsTestSuite.php</file>
</testsuite>
</testsuites>
<groups>