c78a960198
We hope this shall avoid some flaky failures noticed in quick tests, e.g. tst_QQuickMenu::Material::subMenuPosition(cascading,flip) was recently seen failing with 3.88e-11 != 0. This required some revision to test data in the testlib selftest for floats; the resulting expected output differs in details but not in which tests pass or fail. QEMU, naturally, made life difficult, requiring special-case code in the test-driver. [ChangeLog][QtTestLib][QCOMPARE] QCOMPARE() now treats its values as equal when qFuzzyIsNull() is true for both of them. Change-Id: Icc6ad5164b609937eddbe39cc69120f0abf0f3b4 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
11 lines
256 B
Prolog
11 lines
256 B
Prolog
QT = core testlib
|
|
mac:CONFIG -= app_bundle
|
|
CONFIG -= debug_and_release_target
|
|
|
|
INCLUDEPATH += ../../../../shared/
|
|
HEADERS = ../../../../shared/emulationdetector.h
|
|
SOURCES += tst_float.cpp
|
|
TARGET = float
|
|
|
|
include($$QT_SOURCE_TREE/src/testlib/selfcover.pri)
|