tests/auto/qprocess/tst_qprocess.cpp
branchRCL_3
changeset 8 3f74d0d4af4c
parent 4 3b1da2848fc7
equal deleted inserted replaced
6:dee5afe5301f 8:3f74d0d4af4c
  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;