summaryrefslogtreecommitdiffstats
path: root/tests/auto/qsharedpointer
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2009-10-01 11:29:34 +0200
committerThiago Macieira <thiago.macieira@nokia.com>2009-10-05 11:41:43 +0200
commitc5352705d933e76df6d40f01a5e6803bc4106b93 (patch)
tree875264d10044ee8267510754ab29394d43ca31df /tests/auto/qsharedpointer
parenta3ef6e080980e242dd7703c48a628ad821549991 (diff)
Autotest: Don't run 15 and 35 threads on Windows CE.
The device can't cope, so let's keep only the small thread count tests there. Reviewed-by: Trust Me
Diffstat (limited to 'tests/auto/qsharedpointer')
-rw-r--r--tests/auto/qsharedpointer/tst_qsharedpointer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/qsharedpointer/tst_qsharedpointer.cpp b/tests/auto/qsharedpointer/tst_qsharedpointer.cpp
index fa63c4b79e..94c3aaad68 100644
--- a/tests/auto/qsharedpointer/tst_qsharedpointer.cpp
+++ b/tests/auto/qsharedpointer/tst_qsharedpointer.cpp
@@ -1448,10 +1448,11 @@ void tst_QSharedPointer::threadStressTest_data()
QTest::newRow("1+1") << 1 << 1;
QTest::newRow("2+10") << 2 << 10;
+#ifndef Q_OS_WINCE
+ // Windows CE cannot run this many threads
QTest::newRow("5+10") << 5 << 10;
QTest::newRow("5+30") << 5 << 30;
-#ifndef Q_OS_WINCE
QTest::newRow("100+100") << 100 << 100;
#endif
}