summaryrefslogtreecommitdiffstats
path: root/tests/auto/gui/kernel/qguieventloop
diff options
context:
space:
mode:
authorMorten Johan Sørvig <morten.sorvig@qt.io>2017-07-19 14:16:26 +0200
committerMorten Johan Sørvig <morten.sorvig@qt.io>2017-07-19 12:29:53 +0000
commit4585889467b6124f2e9ccca3d1c0da15e2bf790c (patch)
treec80362cc0cf503cbb404e8de9fdc5f1f1e616f9d /tests/auto/gui/kernel/qguieventloop
parent0e9ea9451174aeeb78f41f0cc213373e8ce76e5a (diff)
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>
Diffstat (limited to 'tests/auto/gui/kernel/qguieventloop')
-rw-r--r--tests/auto/gui/kernel/qguieventloop/BLACKLIST2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/auto/gui/kernel/qguieventloop/BLACKLIST b/tests/auto/gui/kernel/qguieventloop/BLACKLIST
index 2303d9380e..03acb2f5b0 100644
--- a/tests/auto/gui/kernel/qguieventloop/BLACKLIST
+++ b/tests/auto/gui/kernel/qguieventloop/BLACKLIST
@@ -1,4 +1,2 @@
-[processEvents]
-osx-10.12
[testQuitLock]
osx-10.12