Follow up r75810. The code for the parser tests modified the main database even when...
authorPlatonides <platonides@users.mediawiki.org>
Fri, 5 Nov 2010 20:03:18 +0000 (20:03 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Fri, 5 Nov 2010 20:03:18 +0000 (20:03 +0000)
commitf04d76c36f149d01b39e2883cb0e4ffcefad69c6
tree53e5080480302853eea38954b88c3c2c0d5c906a
parent64daefd820ae1fdb1877cd96846baa477a0b159e
Follow up r75810. The code for the parser tests modified the main database even when they were not run.
They are now lazy loaded on the first parserTest. This should also make running the other parserTests faster.
It shouldn't take that memory or even parse ParserTests.txt if they are not going to be run, though.

PHPUnit ParserTests are still broken at this point due to r74646
maintenance/tests/parser/parserTest.inc
maintenance/tests/phpunit/includes/parser/MediaWikiParserTest.php
maintenance/tests/phpunit/includes/parser/ParserHelpers.php
maintenance/tests/testHelpers.inc