qt5base-lts/tests/auto/corelib/kernel
Morten Johan Sørvig 4585889467 Fix race condition in the processEvents test
This test verifies processEvents(WaitForMoreEvents)
behavior by first processing all pending events (in
a loop) and then verifying that a following processEvents
call actually waits.

But there is no guarantee that the OS won’t introduce
more events after the first loop has completed. This
does indeed seem to happen on recent versions of macOS.

Change the test to not require that the processEvents
call blocked and de-blacklist.

Task-number: QTBUG-61131
Change-Id: Ic8fa74a6085165442791264f6f137a2fa6083138
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2017-07-19 12:29:53 +00:00
..
qcoreapplication winrt: Fix tst_qcoreapplication 2017-05-11 06:37:34 +00:00
qdeadlinetimer Increase the resolution for QDeadlineTimer unit test 2016-10-26 03:16:26 +00:00
qelapsedtimer Extend blacklisting of tst_QElapsedTimer::elapsed to cover macOS 10.12 2017-06-18 12:58:58 +00:00
qeventdispatcher Extend blacklisting of qeventdispatcher to cover macOS 2017-05-23 14:52:09 +00:00
qeventloop Fix race condition in the processEvents test 2017-07-19 12:29:53 +00:00
qmath Updated license headers 2016-01-21 18:55:18 +00:00
qmetaenum Updated license headers 2016-01-21 18:55:18 +00:00
qmetamethod macOS: Don't build auto-tests as application bundles unless explicitly requested 2016-10-23 10:39:56 +00:00
qmetaobject Fix QMetaMethod::invoke and automatic type registration 2017-04-22 11:25:49 +00:00
qmetaobjectbuilder macOS: Don't build auto-tests as application bundles unless explicitly requested 2016-10-23 10:39:56 +00:00
qmetaproperty Updated license headers 2016-01-21 18:55:18 +00:00
qmetatype Add some missing breaks in switch statements 2017-05-10 16:09:42 +00:00
qmimedata Updated license headers 2016-01-21 18:55:18 +00:00
qobject QObject: turn the narrowing test into static_asserts 2017-05-08 14:24:02 +00:00
qpointer Merge remote-tracking branch 'origin/5.6' into 5.7 2016-04-04 08:59:18 +02:00
qsharedmemory tst_QSharedMemory::readOnly: Skip on macOS 2017-06-07 16:21:49 +00:00
qsignalblocker Updated license headers 2016-01-21 18:55:18 +00:00
qsignalmapper Updated license headers 2016-01-21 18:55:18 +00:00
qsocketnotifier winrt: Fix tst_QSocketNotifier::asyncMultipleDatagram 2017-05-11 06:37:36 +00:00
qsystemsemaphore Merge remote-tracking branch 'origin/5.8' into 5.9 2017-03-13 15:55:44 +01:00
qtimer Skip unreliable tst_QTimer::moveToThread() on macOS 10.12 2017-06-19 18:32:55 +00:00
qtranslator Remove the traces of the discontinued android-no-sdk platform 2016-03-30 10:12:34 +00:00
qvariant Handle conversion and comparison between qvarianthash and qvariantmap 2017-07-11 21:10:54 +00:00
qwineventnotifier Updated license headers 2016-01-21 18:55:18 +00:00
kernel.pro Use qtConfig throughout in qtbase 2016-08-19 04:28:05 +00:00