r64412 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r64411‎ | r64412 | r64413 >
Date:00:05, 31 March 2010
Author:mah
Status:ok
Tags:
Comment:
Add warning about PHPUnit versions.
Modified paths:
  • /trunk/phase3/maintenance/tests/bootstrap.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/tests/bootstrap.php
@@ -13,3 +13,15 @@
1414
1515 require_once( "$IP/maintenance/commandLine.inc" );
1616
 17+if( !version_compare(PHPUnit_Runner_Version::id(), "3.4.1", ">") ) {
 18+ echo <<<EOF
 19+************************************************************
 20+
 21+These tests run best with version PHPUnit 3.4.2 or better.
 22+Earlier versions may show failures because earlier versions
 23+of PHPUnit do not properly implement dependencies.
 24+
 25+************************************************************
 26+
 27+EOF;
 28+}
\ No newline at end of file

Status & tagging log