MinGW: Exclude failing value of tst_QEasingCurve::setCustomType()
After updating MinGW toolchain from 5.3.0 to 7.30 test starts to fail. Task-number: QTBUG-69947 Change-Id: I850d854b27e1cb4e1dd2cb600e8e79bd18bff4a0 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> Reviewed-by: Simo Fält <simo.falt@qt.io>
This commit is contained in:
parent
81d6cf71cc
commit
65b95b61d6
@ -423,7 +423,12 @@ void tst_QEasingCurve::setCustomType()
|
||||
QCOMPARE(curve.valueForProgress(0.15), 0.1);
|
||||
QCOMPARE(curve.valueForProgress(0.20), 0.2);
|
||||
QCOMPARE(curve.valueForProgress(0.25), 0.2);
|
||||
// QTBUG-69947, MinGW 7.3 returns 0.2
|
||||
#if defined(Q_CC_MINGW)
|
||||
#if !defined(__GNUC__) || __GNUC__ != 7 || __GNUC_MINOR__ < 3
|
||||
QCOMPARE(curve.valueForProgress(0.30), 0.3);
|
||||
#endif
|
||||
#endif
|
||||
QCOMPARE(curve.valueForProgress(0.35), 0.3);
|
||||
QCOMPARE(curve.valueForProgress(0.999999), 0.9);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user