diff options
Diffstat (limited to 'tests/auto/corelib/thread/qthread/tst_qthread.cpp')
-rw-r--r-- | tests/auto/corelib/thread/qthread/tst_qthread.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/auto/corelib/thread/qthread/tst_qthread.cpp b/tests/auto/corelib/thread/qthread/tst_qthread.cpp index 9600afd220..b2d09f2baf 100644 --- a/tests/auto/corelib/thread/qthread/tst_qthread.cpp +++ b/tests/auto/corelib/thread/qthread/tst_qthread.cpp @@ -117,7 +117,9 @@ private slots: void startFinishRace(); void startAndQuitCustomEventLoop(); +#ifndef Q_OS_WINCE void stressTest(); +#endif }; enum { one_minute = 60 * 1000, five_minutes = 5 * one_minute }; @@ -990,11 +992,11 @@ void tst_QThread::adoptMultipleThreadsOverlap() QVERIFY(!QTestEventLoop::instance().timeout()); QCOMPARE(int(recorder.activationCount), numThreads); } + +// Disconnects on WinCE, so skip this test. +#ifndef Q_OS_WINCE void tst_QThread::stressTest() { -#if defined(Q_OS_WINCE) - QSKIP("Disconnects on WinCE, skipping...", SkipAll); -#endif QTime t; t.start(); while (t.elapsed() < one_minute) { @@ -1003,6 +1005,7 @@ void tst_QThread::stressTest() t.wait(one_minute); } } +#endif class Syncronizer : public QObject { Q_OBJECT |