summaryrefslogtreecommitdiffstats
path: root/tests/auto/qprocess
diff options
context:
space:
mode:
authorJanne Anttila <janne.anttila@digia.com>2009-09-25 15:34:25 +0300
committerJanne Anttila <janne.anttila@digia.com>2009-09-25 15:34:25 +0300
commit789232278180296b04b7178a95a2e0394eb6736c (patch)
tree7c3f4d6324436b1b6e4da26ea2a8e5a7496ce3c1 /tests/auto/qprocess
parenta39f17108e43e8b676738c15d8f0c150787de514 (diff)
Clean-up for qprocess autotest since default stack in S60 is now 80K.
Specialized test code to set higher stack for this test case is not needed anymore since default stack for Qt thread in S60 now is 80 KB. See commit: 9324fdde Reviewed-by: TrustMe
Diffstat (limited to 'tests/auto/qprocess')
-rw-r--r--tests/auto/qprocess/tst_qprocess.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/auto/qprocess/tst_qprocess.cpp b/tests/auto/qprocess/tst_qprocess.cpp
index e759b0e20c..9e3bce0431 100644
--- a/tests/auto/qprocess/tst_qprocess.cpp
+++ b/tests/auto/qprocess/tst_qprocess.cpp
@@ -1318,15 +1318,6 @@ protected slots:
private:
int exitCode;
-#ifdef Q_OS_SYMBIAN
- enum
- {
- /**
- * The maximum stack size.
- */
- SymbianStackSize = 0x14000
- };
-#endif
};
//-----------------------------------------------------------------------------
@@ -1334,9 +1325,6 @@ void tst_QProcess::processInAThread()
{
for (int i = 0; i < 10; ++i) {
TestThread thread;
-#if defined(Q_OS_SYMBIAN)
- thread.setStackSize(SymbianStackSize);
-#endif
thread.start();
QVERIFY(thread.wait(10000));
QCOMPARE(thread.code(), 0);
@@ -1359,10 +1347,6 @@ void tst_QProcess::processesInMultipleThreads()
thread1.serial = serialCounter++;
thread2.serial = serialCounter++;
thread3.serial = serialCounter++;
-
- thread1.setStackSize(SymbianStackSize);
- thread2.setStackSize(SymbianStackSize);
- thread3.setStackSize(SymbianStackSize);
#endif
thread1.start();
thread2.start();