summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJanne Anttila <janne.anttila@digia.com>2009-10-06 08:41:36 (GMT)
committerJanne Anttila <janne.anttila@digia.com>2009-10-06 08:51:53 (GMT)
commit56087f7ffa0c64c34f55cf24a24d9337592b6c23 (patch)
tree50cad485c1d1f4cfa56cb38c700162a33f70885a /tests
parent501d0fc639e7ec9b26a102eac857123d86215ccf (diff)
downloadQt-56087f7ffa0c64c34f55cf24a24d9337592b6c23.zip
Qt-56087f7ffa0c64c34f55cf24a24d9337592b6c23.tar.gz
Qt-56087f7ffa0c64c34f55cf24a24d9337592b6c23.tar.bz2
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')
-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 a539a7f..2751e9d 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;