[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#827348: qtscript-opensource-src FTBFS on Alpha; double value incorrect in last bit in test suite



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
Index: qtscript-opensource-src-5.6.1+dfsg/tests/auto/qscriptjstestsuite/skip.txt
===================================================================
--- qtscript-opensource-src-5.6.1+dfsg.orig/tests/auto/qscriptjstestsuite/skip.txt
+++ qtscript-opensource-src-5.6.1+dfsg/tests/auto/qscriptjstestsuite/skip.txt
@@ -7,6 +7,7 @@ regress-322135-03.js | takes forever
 regress-322135-04.js | takes forever
 ecma/Expressions/11.4.7-02.js | Fails on some architectures
 ecma/TypeConversion/9.3.1-3.js | Fails on some architectures
+ecma_2/RegExp/properties-002.js | Fails on Alpha
 ecma_3/Array/regress-387501.js | Produces wrong error message
 ecma_3/RegExp/regress-375715-04.js | bug
 ecma_3/RegExp/regress-289669.js | Can fail due to relying on wall-clock time

Reply to: