tag 827348 - patch
thanks
Hi Michael! I don't consider turning off the test a good solution. The test needs a proper fix. Take a look at qFuzzyCompare, for example.
Happy hacking!
--
Lisandro Damián Nicanor Pérez Meyer
http://perezmeyer.com.ar/
http://perezmeyer.blogspot.com/
Source: qtscript-opensource-src
Version: 5.6.1+dfsg-2
Severity: important
Justification: fails to build from source but built in past
Tags: patch
User: debian-alpha@lists.debian.org
Usertags: alpha
qtscript-opensource-src FTBFS on Alpha due to a test suite failure [1]:
FAIL! : tst_QScriptJsTestSuite::ecma_2/RegExp(/\B/.lastIndex) Compared values are not the same
Actual (actual): "1.7976931348623155e+308"
Expected (expect): "1.7976931348623157e+308"
Loc: [ecma_2/RegExp/properties-002.js(583)]
This is the result of a double precision calculation that has rounded
the last bit of the calculation in the wrong direction. That does not
seem sufficient reason to completely fail the build so I attach a
patch that disables this test and hope you would consider including
it in the next upload of qtscript-opensource-src.
Cheers
Michael.
[1] https://buildd.debian.org/status/fetch.php?pkg=qtscript-opensource-src&arch=alpha&ver=5.6.1%2Bdfsg-2&stamp=1465838369