summaryrefslogtreecommitdiffstats
path: root/tests/auto/qlocalsocket
diff options
context:
space:
mode:
authorJanne Anttila <janne.anttila@digia.com>2009-04-29 10:40:36 +0300
committerJanne Anttila <janne.anttila@digia.com>2009-04-29 10:40:36 +0300
commit06b103c81a28237a568b3392e5e7954bb1ec7b1d (patch)
treec06e7190e434199b88a36955b7fbc673bdfacd3f /tests/auto/qlocalsocket
parent5c0f4317665984746f9c2b2f93dbe6a6090318cf (diff)
Increased stack size for threads created in QLocalSocket autotests.
The default stack size (8KB), caused KERN-EXEC 3 panics when executing tests in 5800 HW.
Diffstat (limited to 'tests/auto/qlocalsocket')
-rw-r--r--tests/auto/qlocalsocket/tst_qlocalsocket.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/qlocalsocket/tst_qlocalsocket.cpp b/tests/auto/qlocalsocket/tst_qlocalsocket.cpp
index c289c245cc..50ac953123 100644
--- a/tests/auto/qlocalsocket/tst_qlocalsocket.cpp
+++ b/tests/auto/qlocalsocket/tst_qlocalsocket.cpp
@@ -716,12 +716,18 @@ void tst_QLocalSocket::threadedConnection()
QFETCH(int, threads);
Server server;
+#if defined(Q_OS_SYMBIAN)
+ server.setStackSize(0x14000);
+#endif
server.clients = threads;
server.start();
QList<Client*> clients;
for (int i = 0; i < threads; ++i) {
clients.append(new Client());
+#if defined(Q_OS_SYMBIAN)
+ clients.last()->setStackSize(0x14000);
+#endif
clients.last()->start();
}