Page MenuHomePhabricator

Failing unit test: DjVuTest::testGetPageText
Closed, ResolvedPublic

Description

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

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

....F.

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
1
'
Failed asserting that two strings are equal.

  • Expected

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

/www/mediawiki/core/tests/phpunit/includes/media/DjVuTest.php:116
/www/mediawiki/core/tests/phpunit/MediaWikiTestCase.php:123
/www/mediawiki/core/tests/phpunit/MediaWikiPHPUnitCommand.php:80
/www/mediawiki/core/tests/phpunit/MediaWikiPHPUnitCommand.php:64

Same result in hhvm.


Version: 1.23.0
Severity: normal

Details

Reference
bz61070

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).
demon created this task.Feb 8 2014, 12:05 AM

Yeah probably something on our end or in those binaries.

ori added a comment.Jun 18 2014, 6:27 PM
  • 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)

https://gerrit.wikimedia.org/r/140442

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

https://gerrit.wikimedia.org/r/140442