forked from qt-creator/qt-creator
CMakePM: Raise timeout for ctest run
Depending on the size of projects and the underlying toolchain we may end up with no tests as the timeout for the ctest run was just too small. Fixes: QTCREATORBUG-25851 Change-Id: I5617987a9e43b16c02a2c0b4afd598a3ff909299 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -935,7 +935,7 @@ void CMakeBuildSystem::runCTest()
|
||||
process.setWorkingDirectory(workingDirectory);
|
||||
process.start(cmd.executable().toString(), cmd.splitArguments(), QIODevice::ReadOnly);
|
||||
|
||||
if (!process.waitForStarted(1000) || !process.waitForFinished(1000)) {
|
||||
if (!process.waitForStarted(1000) || !process.waitForFinished()) {
|
||||
if (process.state() == QProcess::NotRunning)
|
||||
return;
|
||||
process.terminate();
|
||||
|
Reference in New Issue
Block a user