diff options
author | Janne Anttila <janne.anttila@digia.com> | 2009-04-29 07:40:36 (GMT) |
---|---|---|
committer | Janne Anttila <janne.anttila@digia.com> | 2009-04-29 07:40:36 (GMT) |
commit | 06b103c81a28237a568b3392e5e7954bb1ec7b1d (patch) | |
tree | c06e7190e434199b88a36955b7fbc673bdfacd3f /tests/auto/qlocalsocket | |
parent | 5c0f4317665984746f9c2b2f93dbe6a6090318cf (diff) | |
download | Qt-06b103c81a28237a568b3392e5e7954bb1ec7b1d.zip Qt-06b103c81a28237a568b3392e5e7954bb1ec7b1d.tar.gz Qt-06b103c81a28237a568b3392e5e7954bb1ec7b1d.tar.bz2 |
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.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/qlocalsocket/tst_qlocalsocket.cpp b/tests/auto/qlocalsocket/tst_qlocalsocket.cpp index c289c24..50ac953 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(); } |