Report logs for each individual test failure
authorErik Bernhardson <ebernhardson@wikimedia.org>
Mon, 4 Mar 2019 21:44:39 +0000 (13:44 -0800)
committerErik Bernhardson <ebernhardson@wikimedia.org>
Wed, 6 Mar 2019 23:13:53 +0000 (15:13 -0800)
commit96657099fc69242ecb5e3c09a79e86ea6bbe2c0b
treeb663925d131b350ed2303130a7bd09f1e8674ffc
parent3290e7b3cc7b33287ec380d4b0af5c37aa1fad10
Report logs for each individual test failure

The initial implementation of reporting logs with test failures was
incorrect, it always reported the logs of the most recent test run.
Attach logs to the Test when a failure is reported and pull them
back out in the result printer.

Bug: T217489
Change-Id: I5aa55d6fa7a7ec03a2e71636b6b0366ea40605cb
tests/phpunit/MediaWikiLoggerPHPUnitTestListener.php
tests/phpunit/MediaWikiPHPUnitCommand.php
tests/phpunit/MediaWikiPHPUnitResultPrinter.php