[poppler] 0.20.5 test failure

Albert Astals Cid aacid at kde.org
Tue Oct 16 13:23:19 PDT 2012


El Dimarts, 16 d'octubre de 2012, a les 16:11:54, Andreas Radke va escriure:
> Building new packages for ArchLinux all tests are passed for x86_64
> architecture but in a linux32 i686 chroot one test fails:
> 
> ********* Start testing of TestLexer *********
> Config: Using QTest library 4.8.3, Qt 4.8.3
> PASS   : TestLexer::initTestCase()
> FAIL!  : TestLexer::testNumbers() Compared doubles are not the same
> (fuzzy compare) Actual (obj.getReal()): -2.14748e+09
>    Expected ((double)-2147483649): 2.14748e+09
>    Loc: [check_lexer.cpp(65)]
> PASS   : TestLexer::cleanupTestCase()
> Totals: 2 passed, 1 failed, 0 skipped
> ********* Finished testing of TestLexer *********
> FAIL: check_lexer
> ===========================================================================
> 1 of 14 tests failed
> Please report to
> https://bugs.freedesktop.org/enter_bug.cgi?product=poppler

Interesting, something in QTest is getting confused since

Expected ((double)-2147483649): 2.14748e+09
is obviously wrong :D

Could you try changing that line from
(double)-2147483649
to
-2147483649.
(note the . and the end)

And see if the test passes?

Cheers,
  Albert

> 
> 
> Is this already known?
> 
> -Andy
> _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/poppler


More information about the poppler mailing list