qt5base-lts/tests/auto
Edward Welbourne 3abfa4dfff QtTestLib: handle float16 the same as double and float
In QCOMPARE, handle NaNs and infinities the way tests want them
handled, rather than by strict IEEE rules. In particular, if a test
expects NaN, this lets it treat that just like any other expected
value, despite NaN != NaN as float16 values. Likewise, format
infinities and NaNs specially in toString() so that they're reported
consistently.

Enable the qfloat16 tests that depend on this QCOMPARE() behavior.
Refise the testlib selftest's float test to test qfloat16 the same way
it tests float and double (and format the test the same way).

This is a follow-up to 37f617c405.

Change-Id: I433256a09b1657e6725d68d07c5f80d805bf586a
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2019-04-24 13:09:15 +00:00
..
android Updated license headers 2016-01-21 18:55:18 +00:00
bic/data Add binary compatibility files for 5.12 for QtBase 2018-12-21 19:42:57 +00:00
cmake Export modules' enabled/disabled features to cmake 2018-09-28 13:10:28 +00:00
concurrent Replace Q_DECL_NOTHROW with noexcept the remaining places 2019-04-09 14:48:42 +00:00
corelib QtTestLib: handle float16 the same as double and float 2019-04-24 13:09:15 +00:00
dbus Merge remote-tracking branch 'origin/5.12' into 5.13 2019-02-19 01:00:08 +01:00
gui Merge remote-tracking branch 'origin/5.13' into dev 2019-04-24 09:52:30 +02:00
guiapplauncher
installed_cmake
network Merge remote-tracking branch 'origin/5.13' into dev 2019-04-11 07:47:21 +02:00
opengl qWaitFor: Prevent being stuck in QCoreApplication::processEvents 2019-01-09 18:10:54 +00:00
other QRegExp include cleanup 2019-04-19 21:21:17 +00:00
printsupport tst_QPrinter: stabilize qprinter test 2019-01-20 13:39:54 +00:00
shared Read font selection flags and use them when querying for metrics 2018-11-30 16:15:03 +00:00
sql QSqlError: fix redundant space in text() output 2019-03-26 06:12:10 +00:00
testlib QtTestLib: handle float16 the same as double and float 2019-04-24 13:09:15 +00:00
tools uic test: Test Python 2019-04-16 07:40:45 +00:00
widgets Merge remote-tracking branch 'origin/5.13' into dev 2019-04-24 09:52:30 +02:00
xml Don't indefinitely wait for data if it was able to read some data 2018-01-24 05:54:31 +00:00
auto.pro winrt: Skip network auto tests for now 2018-06-22 05:02:39 +00:00
network-settings.h Port tst_qtcpsocket to the docker server 2019-02-28 15:48:31 +00:00
testserver.pri Update handling of TESTSERVER_COMPOSE_FILE 2019-03-22 15:55:18 +00:00