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:
3db985b
)
Actually does what r72249 claimed to do.
author
Trevor Parscal
<tparscal@users.mediawiki.org>
Fri, 3 Sep 2010 00:48:22 +0000
(
00:48
+0000)
committer
Trevor Parscal
<tparscal@users.mediawiki.org>
Fri, 3 Sep 2010 00:48:22 +0000
(
00:48
+0000)
maintenance/tests/phpunit
patch
|
blob
|
history
diff --git
a/maintenance/tests/phpunit
b/maintenance/tests/phpunit
index
ab13e84
..
9455d50
100755
(executable)
--- a/
maintenance/tests/phpunit
+++ b/
maintenance/tests/phpunit
@@
-3,7
+3,7
@@
require( dirname( __FILE__ ) . '/../commandLine.inc' );
// XXX: This can go away if everyone switches to PHPUnit 3.5
-if ( file_
exists( get_include_path() . '/PHPUnit/Autoload.php' )
) {
+if ( file_
get_contents( 'PHPUnit/Autoload.php', true ) !== false
) {
// Works for PHPUnit >= 3.5
require_once 'PHPUnit/Autoload.php';
} else {