qeasingcurve/tst_qeasingcurve: Fix for MinGW 8.1 x86
Test fails on MinGW 8.1 x86, but not on MinGW 8.1 x86_64. Task-number: QTQAINFRA-3304 Task-number: QTBUG-69947 Change-Id: Ie9a35bd6d5a8481028cd0ea426d1cf00bd7cf093 Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
This commit is contained in:
parent
0359a82e6e
commit
40f4b3de1a
@ -428,9 +428,9 @@ 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
|
||||
// QTBUG-69947, MinGW 7.3, 8.1 x86 returns 0.2
|
||||
#if defined(Q_CC_MINGW)
|
||||
#if !defined(__GNUC__) || __GNUC__ != 7 || __GNUC_MINOR__ < 3
|
||||
#if !defined(__GNUC__) || defined(__MINGW64__)
|
||||
QCOMPARE(curve.valueForProgress(0.30), 0.3);
|
||||
#endif
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user