summaryrefslogtreecommitdiffstats
path: root/tests/auto/qthreadonce
diff options
context:
space:
mode:
authorJanne Anttila <janne.anttila@digia.com>2009-10-06 11:41:36 +0300
committerJanne Anttila <janne.anttila@digia.com>2009-10-06 11:51:53 +0300
commit56087f7ffa0c64c34f55cf24a24d9337592b6c23 (patch)
tree50cad485c1d1f4cfa56cb38c700162a33f70885a /tests/auto/qthreadonce
parent501d0fc639e7ec9b26a102eac857123d86215ccf (diff)
Decrease tst_QThreadOnce::multipleThreads test num of thread for Symbian
In Symbian OS the maximum number of thread per process depends on stack size. With default 8KB stack size you can have 128 threads, with 16KB stack size you can have 64 threads etc. Since all qt threads nowadays have maximum stack size, we need to decrease the amount of threads in this test. Reviewed-by: TrustMe
Diffstat (limited to 'tests/auto/qthreadonce')
-rw-r--r--tests/auto/qthreadonce/tst_qthreadonce.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qthreadonce/tst_qthreadonce.cpp b/tests/auto/qthreadonce/tst_qthreadonce.cpp
index a539a7fe92..2751e9d805 100644
--- a/tests/auto/qthreadonce/tst_qthreadonce.cpp
+++ b/tests/auto/qthreadonce/tst_qthreadonce.cpp
@@ -134,7 +134,7 @@ void tst_QThreadOnce::sameThread()
void tst_QThreadOnce::multipleThreads()
{
-#if defined(Q_OS_WINCE) || defined(Q_OS_VXWORKS)
+#if defined(Q_OS_WINCE) || defined(Q_OS_VXWORKS) || defined(Q_OS_SYMBIAN)
const int NumberOfThreads = 20;
#else
const int NumberOfThreads = 100;