Page MenuHomePhabricator

Failing unit test: DjVuTest::testGetPageText
Closed, ResolvedPublic


$ php phpunit.php includes/media/DjVuTest.php
PHPUnit 3.7.31 by Sebastian Bergmann.

Configuration read from /www/mediawiki/core/tests/phpunit/suite.xml


Time: 124 ms, Memory: 13.75Mb

There was 1 failure:

  1. DjVuTest::testGetPageText

Text layer of page 1 of file LoremIpsum.djvu should be 'Lorem ipsum
Failed asserting that two strings are equal.

  • Expected

+++ Actual
@@ @@
-'Lorem ipsum


Same result in hhvm.

Version: 1.23.0
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 2:51 AM
bzimport added a project: MediaWiki-DjVu.
bzimport set Reference to bz61070.
bzimport added a subscriber: Unknown Object (MLST).

Yeah probably something on our end or in those binaries.

  • Bug 64947 has been marked as a duplicate of this bug. ***

Change 140442 had a related patch set uploaded by Brian Wolff:
Fix DjVu test (Make sure to check for djvutxt binary)

Change 140442 merged by jenkins-bot:
Fix DjVu test (Make sure to check for djvutxt binary)