qt5base-lts/tests/auto/other
Volker Hilsheimer 0dadb951b5 qobjectrace test: Don't hardcode the number of threads
Use QThread::idealThreadCount instead. This requires that we use
QVarLengthArray, as MSVC doesn't allow us to allocate arrays with a
non-constexpr size on the stack.

By using as many threads as the system has cores, we are more likely
to detect race conditions reliably. On systems with fewer cores (in
particular on qemu platforms like QNX, where this test has been
failing a lot), we'll less likely end up with false negatives due
to timeouts.

Pick-to: 6.4 6.3 6.2
Change-Id: Ie8631aef544ca7b53c06a0729d05459016745486
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2022-07-12 17:16:37 +02:00
..
android Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
gestures unblacklist passing tests 2022 2022-06-23 01:36:01 +02:00
languagechange Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
macgui Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
macnativeevents Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
macplist unblacklist passing tests 2022 2022-06-23 01:36:01 +02:00
networkselftest Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qabstractitemmodelutils Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qaccessibility Accessibility: don't emit focus change when reason is window activation 2022-06-16 19:29:36 +02:00
qaccessibilitylinux Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qaccessibilitymac Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qcomplextext Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qfocusevent Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qnetworkaccessmanager_and_qprogressdialog Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qobjectrace qobjectrace test: Don't hardcode the number of threads 2022-07-12 17:16:37 +02:00
qprocess_and_guieventloop Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qsharedpointer_and_qwidget Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qvariant_common Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
sessionmanagement_macos Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
toolsupport Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
xkbkeyboard Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
CMakeLists.txt Fix tst_qaccessibility on Android 2022-02-25 13:52:33 +01:00