equal
deleted
inserted
replaced
1 /**************************************************************************** |
1 /**************************************************************************** |
2 ** |
2 ** |
3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). |
3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
4 ** All rights reserved. |
4 ** All rights reserved. |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
6 ** |
6 ** |
7 ** This file is part of the test suite of the Qt Toolkit. |
7 ** This file is part of the test suite of the Qt Toolkit. |
8 ** |
8 ** |
1650 QSignalSpy stateSpy(&process, SIGNAL(stateChanged(QProcess::ProcessState))); |
1650 QSignalSpy stateSpy(&process, SIGNAL(stateChanged(QProcess::ProcessState))); |
1651 QSignalSpy errorSpy(&process, SIGNAL(error(QProcess::ProcessError))); |
1651 QSignalSpy errorSpy(&process, SIGNAL(error(QProcess::ProcessError))); |
1652 QSignalSpy finishedSpy(&process, SIGNAL(finished(int))); |
1652 QSignalSpy finishedSpy(&process, SIGNAL(finished(int))); |
1653 QSignalSpy finishedSpy2(&process, SIGNAL(finished(int, QProcess::ExitStatus))); |
1653 QSignalSpy finishedSpy2(&process, SIGNAL(finished(int, QProcess::ExitStatus))); |
1654 |
1654 |
1655 // Mac OS X and HP-UX have a really low defualt process limit (~100), so spawning |
1655 // Mac OS X and HP-UX have a really low default process limit (~100), so spawning |
1656 // to many processes here will cause test failures later on. |
1656 // to many processes here will cause test failures later on. |
1657 #if defined Q_OS_HPUX |
1657 #if defined Q_OS_HPUX |
1658 const int attempts = 15; |
1658 const int attempts = 15; |
1659 #elif defined Q_OS_MAC |
1659 #elif defined Q_OS_MAC |
1660 const int attempts = 15; |
1660 const int attempts = 15; |