qt6-bb10/tests/auto
Marc Mutz 1c53afb774 tst_QThread: add a test for self-cancellation
Doesn't test anything, just that it doesn't crash.

Turns out we have a race between thread cancellation and normal exit
(filed as QTBUG-127008). Worked around by adding an infinite loop to
run(), after terminate().

Android doesn't support cancellation at all, and our Windows
implementation hits QTBUG-127050, so skip the test on those
platforms.

Pick-to: 6.7 6.5 6.2 5.15
Change-Id: I47a635a31caaf116d3688f31b9b5c5875e9765f5
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
(cherry picked from commit a9f7e75a2647732ff998f1c0d112682dbd5c4e28)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-07-10 07:37:03 +00:00
..
bic/data Add binary compatibility file for 6.7.0 2024-04-17 10:18:37 +00:00
cmake Use add_compile_definitions instead of add_definitions 2024-07-05 15:55:31 +00:00
concurrent tst_QtConcurrentThreadEngine: fix UB (uninitialized boolean) 2024-07-06 10:17:50 +00:00
corelib tst_QThread: add a test for self-cancellation 2024-07-10 07:37:03 +00:00
dbus QDBusSignature: accept empty strings as valid 2024-05-10 13:17:20 -07:00
gui tst_QWindow: Remove data for positioning test 2024-07-07 09:03:07 +00:00
guiapplauncher Convert "Color Editor Factory" Example to snippets 2024-04-19 13:39:41 +02:00
network HTTP2: refactor setting of temporary key chain into helper 2024-07-10 01:50:21 +00:00
opengl tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00
other Fix accessibility of list views with underlying multi-column model 2024-06-26 22:52:30 +00:00
printsupport PDF: add support for PDF/X-4 2024-07-08 12:46:00 +00:00
shared Introduce flag to use typographical line metrics for fonts 2024-05-31 19:30:53 +02:00
sql Tests/QSqlQuery: misc fixes for MsSQL ODBC Server 2024-07-05 15:55:30 +00:00
testlib Use add_compile_definitions instead of add_definitions 2024-07-05 15:55:31 +00:00
tools tst_qmakelib: Account for test directory with spaces in system() test 2024-07-03 18:57:34 +00:00
wasm Add copyright and licensing to build system files missing it 2024-05-21 17:23:21 +02:00
widgets Tests/QComboBox: use QTRY_COMPARE instead processEvents() 2024-07-03 20:11:57 +00:00
xml Add copyright and licensing to build system files missing it 2024-05-21 17:23:21 +02:00
CMakeLists.txt tst_QSettings: port to QTEST_THROW_ON_FAIL 2024-06-27 06:06:02 +00:00
network-settings.h Change license for tests files 2024-02-04 09:56:42 +01:00