tst_qnumeric: Mark some tests as XFAIL on BlackBerry 10
These tests seem to fail because denormalized numbers are not supported on QNX yet, so marking them as expected failures. - floatDistance(denormal) - floatDistance_double(denormal) Task-number: QTBUG-37094 Change-Id: I79dbc78da6e9bef8466264fd2cab4af0ee8b868f Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
This commit is contained in:
parent
82e699cab0
commit
e5870b61c6
@ -167,6 +167,9 @@ void tst_QNumeric::floatDistance()
|
||||
QFETCH(float, val1);
|
||||
QFETCH(float, val2);
|
||||
QFETCH(quint32, expectedDistance);
|
||||
#ifdef Q_OS_BLACKBERRY
|
||||
QEXPECT_FAIL("denormal", "See QTBUG-37094", Continue);
|
||||
#endif
|
||||
QCOMPARE(qFloatDistance(val1, val2), expectedDistance);
|
||||
}
|
||||
|
||||
@ -211,6 +214,9 @@ void tst_QNumeric::floatDistance_double()
|
||||
QFETCH(double, val1);
|
||||
QFETCH(double, val2);
|
||||
QFETCH(quint64, expectedDistance);
|
||||
#ifdef Q_OS_BLACKBERRY
|
||||
QEXPECT_FAIL("denormal", "See QTBUG-37094", Continue);
|
||||
#endif
|
||||
QCOMPARE(qFloatDistance(val1, val2), expectedDistance);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user