tst_QJSEngine::toFixed() will fail on i386

Bug #1634063 reported by Timo Jyrinki
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qtdeclarative-opensource-src (Ubuntu)
New
Undecided
Unassigned

Bug Description

Update: These tests actually weren't being executed in Ubuntu before.

With the to-be-uploaded new patch version of Qt 5.6.1, the function will start to fail on i386 and i386 only:

FAIL! : tst_QJSEngine::toFixed() Compared values are not the same
   Actual (result.toString()) : "12.0"
   Expected (QStringLiteral("12.1")): "12.1"
   Loc: [tst_qjsengine.cpp(3797)]

Also failing are seven other similar tests:
FAIL! : tst_qqmlqt::rect() Compared values are not the same
   Actual (qvariant_cast<QRectF>(object->property("test2"))): QRectF(-10,13 100x109.6) (bottomright 90,122.6)
   Expected (QRectF(-10, 13, 100, 109.6)) : QRectF(-10,13 100x109.6) (bottomright 90,122.6)
   Loc: [tst_qqmlqt.cpp(277)]
FAIL! : tst_qqmlqt::point() Compared values are not the same
   Actual (qvariant_cast<QPointF>(object->property("test2"))): QPointF(-3,109.2)
   Expected (QPointF(-3, 109.2)) : QPointF(-3,109.2)
   Loc: [tst_qqmlqt.cpp(298)]
FAIL! : tst_qqmlqt::size() Compared values are not the same
   Actual (qvariant_cast<QSizeF>(object->property("test2"))): QSizeF(3x109.2)
   Expected (QSizeF(3, 109.2)) : QSizeF(3x109.2)
   Loc: [tst_qqmlqt.cpp(318)]
FAIL! : tst_qqmlqt::vector2d() Compared values are not the same
   Loc: [tst_qqmlqt.cpp(338)]
FAIL! : tst_qqmlqt::vector3d() Compared values are not the same
   Loc: [tst_qqmlqt.cpp(358)]
FAIL! : tst_qqmlqt::vector4d() Compared values are not the same
   Loc: [tst_qqmlqt.cpp(378)]
FAIL! : tst_qqmlqt::quaternion() Compared values are not the same
   Loc: [tst_qqmlqt.cpp(398)]

description: updated
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.