qt5base-lts/tests/auto
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
..
android Updated license headers 2016-01-21 18:55:18 +00:00
bic/data Add binary compatibility files for Qt5.13.0 for QtBase 2019-08-15 04:19:39 +00:00
cmake cmake: correct version dependency for qt5_add_big_resources 2019-05-20 12:49:37 +02:00
concurrent Merge remote-tracking branch 'origin/5.11' into dev 2018-02-16 08:54:58 +01:00
corelib Fix QRandomGenerator initialization on AMD CPUs 2019-09-26 19:52:50 +03:00
dbus Merge remote-tracking branch 'origin/5.12' into 5.13 2019-02-19 01:00:08 +01:00
gui Ensure that QFont::fromString() doesn't parse empty font specifications 2019-09-24 14:38:40 +02:00
guiapplauncher Fix path to examples part of tst_GuiAppLauncher 2015-02-13 07:28:15 +00:00
installed_cmake
network Merge remote-tracking branch 'origin/5.12' into 5.13 2019-09-08 11:33:28 +02:00
opengl qWaitFor: Prevent being stuck in QCoreApplication::processEvents 2019-01-09 18:10:54 +00:00
other Merge remote-tracking branch 'origin/5.12' into 5.13 2019-09-08 11:33:28 +02:00
printsupport tst_QPrinter: stabilize qprinter test 2019-01-20 13:39:54 +00:00
shared Make tst_qwidget pass on High-DPI screens (Windows) 2019-06-03 10:41:08 +02:00
sql Merge remote-tracking branch 'origin/5.12' into 5.13 2019-02-21 01:00:08 +01:00
testlib Re-add tst_selftests "crashes old stdout txt" on QEMU 2019-09-09 11:19:38 +00:00
tools Merge remote-tracking branch 'qt/5.12' into 5.13 2019-08-20 10:41:56 +00:00
widgets QWizard/Aerostyle: Fix "&Next" shortcut 2019-09-25 15:14:36 +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 Extend the default retry times of QtNetworkSettings::verifyConnection 2019-01-23 15:28:33 +00:00
testserver.pri Disable Docker-based test servers on macOS temporarily 2019-02-06 22:04:54 +00:00