qt6-bb10/tests/auto/corelib
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
..
animation Change license for tests files 2024-02-04 09:56:42 +01:00
global Long live Q_DECLARE_SHARED_NS! 2024-07-08 11:29:50 +00:00
io tst_QSettings: port to QTEST_THROW_ON_FAIL 2024-06-27 06:06:02 +00:00
ipc tests: skip tst_QSharedMemory::useTooMuchMemory() on Linux arm64 2024-06-13 20:35:08 +00:00
itemmodels [doc] Q(Persistent)ModelIndex: document behavior of data() on invalid Q(P)MIs 2024-07-06 10:17:53 +00:00
kernel Document in a test that mixing connect/disconnect syntax doesn't work 2024-07-03 06:02:34 +00:00
mimetypes QMimeType: use modernize comparisons 2024-04-30 17:46:34 +02:00
platform Rename target of the BSTR test in QtCore to avoid conflict 2024-07-09 14:10:16 +00:00
plugin QUuid: extend test coverage for version() and variant() 2024-07-09 12:32:35 +00:00
serialization tst_QCborValue: port to QTEST_THROW_ON_FAIL 2024-06-19 23:31:45 +00:00
text QString::assign: Don't crash when passed an empty range 2024-06-27 01:31:40 +00:00
thread tst_QThread: add a test for self-cancellation 2024-07-10 07:37:03 +00:00
time Update CLDR Windows timezone data to v44.1 2024-06-02 15:25:00 +02:00
tools qHash(): make 1-to-2-arg adapter a worse match than regular 2-arg overloads 2024-06-28 09:04:56 +00:00
CMakeLists.txt tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00