https://bugzilla.wikimedia.org/show_bug.cgi?id=36452
Web browser: ---
Bug #: 36452
Summary: xdebug causes bogus failures for <tag>-related parser
tests
Product: MediaWiki
Version: 1.20-git
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Unit tests
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected],
[email protected]
Classification: Unclassified
Mobile Platform: ---
When I enable xdebug, I get the following 4 bogus failures
<http://p.defau.lt/?PIkfleT2gR1E_HKF3PDoZg>
xdebug seems to be changing array key formatting on var_dump() (see
ParserTestParserHook::dumpHook)) which is causing phpunit to claim there's a
failure when there obviously isn't. Disabling xdebug makes the failures go
away.
This may be something platform-specific (OSX 10.7.3, PHPUnit 3.6.10, PHP
5.3.8). Not sure if it's a real bug upstream or just some behavior we should
work around.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l