diff options
author | Christian Stenger <christian.stenger@qt.io> | 2021-06-11 09:59:54 +0200 |
---|---|---|
committer | Christian Stenger <christian.stenger@qt.io> | 2021-06-11 09:52:53 +0000 |
commit | 9542ccd14eb92626c24c96614250ffa6596576e2 (patch) | |
tree | 146626c4559869f5d012d2508ccd4f5b074f8079 | |
parent | 7a074608b6a18482ad7cca36bc7bdacba3cac11f (diff) | |
download | qt-creator-9542ccd14eb92626c24c96614250ffa6596576e2.tar.gz |
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>
-rw-r--r-- | src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp b/src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp index 54de9efb68..243fdb83f9 100644 --- a/src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp +++ b/src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp @@ -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(); |