Call parent::setUp() in DiffHistoryBlobTest before marking skipped tests
authoraude <aude.wiki@gmail.com>
Sun, 24 Nov 2013 00:20:46 +0000 (01:20 +0100)
committerAude <aude.wiki@gmail.com>
Sun, 24 Nov 2013 00:29:57 +0000 (00:29 +0000)
commit3c57bec275accde0ca403d6e186806efae2fb6df
treef1a2647145a5b347f3c1840f64c7659a8d93773d
parent9f66447e0aac4f72a7cdcac9ab25ded25aeb8d4e
Call parent::setUp() in DiffHistoryBlobTest before marking skipped tests

Jenkins skips these tests because xdiff is unavailable. The tests get
marked as skipped, out of order and before the error reporting setup.

Things are left in an inconsistent state when running *all* the tests together,
and interferes with later error handling (including PHPUnit_Framework_Error)
in other tests.

The gate-and-submit and other jobs are split into multiple jobs,
and for some reason does not trigger this issue.

This will probably fix bug 57488.

Bug: 57488
Change-Id: Ie1a213e912b5858b43956fc35cf00226636f2093
tests/phpunit/includes/DiffHistoryBlobTest.php