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:
Christian Stenger
2023-06-30 10:53:08 +02:00
parent 56772fbcc6
commit e38cd151cf
4 changed files with 16 additions and 1 deletions

View File

@@ -32,6 +32,7 @@ public:
void toSettings(QSettings *s) const;
void fromSettings(QSettings *s);
Utils::IntegerAspect scanThreadLimit{this};
Utils::IntegerAspect timeout{this};
Utils::BoolAspect omitInternalMsg{this};
Utils::BoolAspect omitRunConfigWarn{this};