From: Antoine Musso Date: Fri, 18 Mar 2011 21:45:32 +0000 (+0000) Subject: debugging statement when starting a phpunit parser test X-Git-Tag: 1.31.0-rc.0~31338 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmembres/Category:Foo?a=commitdiff_plain;h=8012c3b1881ca58a4ef27278aadd4f338b5d8d11;p=lhc%2Fweb%2Fwiklou.git debugging statement when starting a phpunit parser test --- diff --git a/tests/phpunit/includes/parser/NewParserTest.php b/tests/phpunit/includes/parser/NewParserTest.php index 5d52d7d1d8..b37f8c3ba3 100644 --- a/tests/phpunit/includes/parser/NewParserTest.php +++ b/tests/phpunit/includes/parser/NewParserTest.php @@ -384,6 +384,9 @@ class NewParserTest extends MediaWikiTestCase { /** @dataProvider parserTestProvider */ public function testParserTest( $desc, $input, $result, $opts, $config ) { if ( !preg_match( '/' . $this->regex . '/', $desc ) ) return; //$this->markTestSkipped( 'Filtered out by the user' ); + + wfDebug( "Running parser test: $desc\n" ); + $opts = $this->parseOptions( $opts ); $this->setupGlobals( $opts, $config );