qt5base-lts/tests/auto/corelib
Dmitry Kazakov 5839714d98 Fix QRandomGenerator initialization on AMD CPUs
Some AMD CPUs (e.g. AMD A4-6250J and AMD Ryzen 3000-series) have a
failing random generation instruction, which always returns
0xffffffff, even when generation was "successful".

This code checks if hardware random generator generates four consecutive
equal numbers. If it does, then we probably have a failing one and
should disable it completely.

Change-Id: I38c87920ca2e8cce4143afbff5e453ce3845d11a
Fixes: QTBUG-69423
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2019-09-26 19:52:50 +03:00
..
animation Report correct state change when destroying QAbstractAnimation 2019-06-20 12:46:30 +02:00
codecs Add tests for decoding too-short UTF-8 sequences 2018-09-25 22:14:07 +00:00
global Fix QRandomGenerator initialization on AMD CPUs 2019-09-26 19:52:50 +03:00
io Merge remote-tracking branch 'origin/5.12' into 5.13 2019-07-13 01:00:21 +02:00
itemmodels Merge remote-tracking branch 'origin/5.12' into 5.13 2019-03-26 08:27:02 +01:00
kernel Merge remote-tracking branch 'origin/5.12' into 5.13 2019-05-09 13:06:11 +00:00
mimetypes QMimeDatabase: update freedesktop.org.xml to shared-mime-info 1.10 2018-11-13 11:16:11 +00:00
plugin QPluginLoader: fix failing test comparing the Qt version 2019-07-03 05:59:16 -03:00
serialization Merge remote-tracking branch 'origin/5.12' into 5.13 2019-07-20 01:00:13 +02:00
statemachine tst_QStateMachine: Don't use unconditional waits 2018-04-04 07:07:40 +00:00
thread Add cmdline feature to qmake 2019-02-18 07:12:14 +00:00
tools Revert "BLACKLIST insert_remove_loop for msvc-2019" 2019-09-24 10:26:00 +02:00
corelib.pro Create corelib/serialization and move existing file formats into it 2018-01-26 20:59:50 +00:00