From 9542ccd14eb92626c24c96614250ffa6596576e2 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Fri, 11 Jun 2021 09:59:54 +0200 Subject: [PATCH] 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 --- src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp b/src/plugins/cmakeprojectmanager/cmakebuildsystem.cpp index 54de9efb68b..243fdb83f9f 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();