dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0abf8cb
)
Fixing bad cpmmand to make phpunit work r72250
author
Priyanka Dhanda
<pdhanda@users.mediawiki.org>
Fri, 3 Sep 2010 00:57:56 +0000
(
00:57
+0000)
committer
Priyanka Dhanda
<pdhanda@users.mediawiki.org>
Fri, 3 Sep 2010 00:57:56 +0000
(
00:57
+0000)
maintenance/tests/phpunit
patch
|
blob
|
history
diff --git
a/maintenance/tests/phpunit
b/maintenance/tests/phpunit
index
9455d50
..
d38e016
100755
(executable)
--- a/
maintenance/tests/phpunit
+++ b/
maintenance/tests/phpunit
@@
-3,12
+3,12
@@
require( dirname( __FILE__ ) . '/../commandLine.inc' );
// XXX: This can go away if everyone switches to PHPUnit 3.5
-if ( file_get_contents( 'PHPUnit/Autoload.php', true ) !== false ) {
+if (
@
file_get_contents( 'PHPUnit/Autoload.php', true ) !== false ) {
// Works for PHPUnit >= 3.5
require_once 'PHPUnit/Autoload.php';
} else {
// Works for PHPUnit < 3.5
- require_once 'PHPUnit/TextUI/Command';
+ require_once 'PHPUnit/TextUI/Command
.php
';
}
define( 'MW_PHPUNIT_TEST', 1 );