dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added a new hook that allows extensions to add their own tests to the core test suite
[lhc/web/wiklou.git]
/
maintenance
/
tests
/
phpunit
diff --git
a/maintenance/tests/phpunit
b/maintenance/tests/phpunit
index
b893847
..
bab4439
100755
(executable)
--- a/
maintenance/tests/phpunit
+++ b/
maintenance/tests/phpunit
@@
-32,6
+32,7
@@
class MWPHPUnitCommand extends PHPUnit_TextUI_Command {
} else {
require( dirname( __FILE__ ) . '/TestFileList.php' );
$files = $testFiles;
+ wfRunHooks( 'UnitTestsList', array( &$files ) );
}
foreach ( $files as $file ) {
$suite->addTestFile( $file );