forked from qt-creator/qt-creator
AutoTest: Make scan thread limit customizable
Allow users to specify the tread limit used when scanning for tests. By default we continue to use a fourth of the available logical CPUs. Task-number: QTCREATORBUG-29301 Change-Id: Ic92a4d0908093c0664aa1ba924e0c17dfd0082f9 Reviewed-by: David Schulz <david.schulz@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
@@ -51,6 +51,8 @@ TestSettingsWidget::TestSettingsWidget()
|
||||
{
|
||||
auto timeoutLabel = new QLabel(Tr::tr("Timeout:"));
|
||||
timeoutLabel->setToolTip(Tr::tr("Timeout used when executing each test case."));
|
||||
auto scanThreadLabel = new QLabel(Tr::tr("Scan threads:"));
|
||||
scanThreadLabel->setToolTip("Number of worker threads used when scanning for tests.");
|
||||
|
||||
m_frameworkTreeWidget = new QTreeWidget;
|
||||
m_frameworkTreeWidget->setRootIsDecorated(false);
|
||||
@@ -83,6 +85,7 @@ TestSettingsWidget::TestSettingsWidget()
|
||||
Group generalGroup {
|
||||
title(Tr::tr("General")),
|
||||
Column {
|
||||
Row { scanThreadLabel, s.scanThreadLimit, st },
|
||||
s.omitInternalMsg,
|
||||
s.omitRunConfigWarn,
|
||||
s.limitResultOutput,
|
||||
|
||||
Reference in New Issue
Block a user