diff options
author | Rohan McGovern <rohan.mcgovern@nokia.com> | 2010-06-16 22:23:36 (GMT) |
---|---|---|
committer | Rohan McGovern <rohan.mcgovern@nokia.com> | 2010-06-16 22:24:07 (GMT) |
commit | 0aaf5a740dc97de3d51d35a489eda25663503a31 (patch) | |
tree | f99cbd2fb591d6d0ec65e2cc305716a0d14d02ea /tests | |
parent | efefdf4412707991f28e1a65675dda5b03ab8a7d (diff) | |
download | Qt-0aaf5a740dc97de3d51d35a489eda25663503a31.zip Qt-0aaf5a740dc97de3d51d35a489eda25663503a31.tar.gz Qt-0aaf5a740dc97de3d51d35a489eda25663503a31.tar.bz2 |
Attempt to stabilize tst_lupdate::good
Increase timeout when running lupdate from 5 to 30 seconds.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/linguist/lupdate/tst_lupdate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/linguist/lupdate/tst_lupdate.cpp b/tests/auto/linguist/lupdate/tst_lupdate.cpp index c179462..5ba6c52 100644 --- a/tests/auto/linguist/lupdate/tst_lupdate.cpp +++ b/tests/auto/linguist/lupdate/tst_lupdate.cpp @@ -288,7 +288,7 @@ void tst_lupdate::good() proc.setWorkingDirectory(workDir); proc.setProcessChannelMode(QProcess::MergedChannels); proc.start(m_cmdLupdate + ' ' + lupdatecmd, QIODevice::ReadWrite | QIODevice::Text); - QVERIFY2(proc.waitForFinished(5000), qPrintable(lupdatecmd)); + QVERIFY2(proc.waitForFinished(30000), qPrintable(lupdatecmd)); QByteArray output = proc.readAll(); QVERIFY2(proc.exitStatus() == QProcess::NormalExit, "\"lupdate " + lupdatecmd.toLatin1() + "\" crashed\n" + output); |