aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/testdata-joblimits
Commit message (Collapse)AuthorAgeFilesLines
* Speed up TestBlackboxJobLimitsIvan Komissarov2019-07-082-2/+2
| | | | | | | | | | | This test runs for quite a long time on Travis and is reason why jobs got killed. This patch decreases the spent time by 40% on macOS (~5min -> ~3min) Change-Id: Iaab8ba08f5b43c65655eaad61812def60047f581 Reviewed-by: Qbs CI Bot <travis-bot@weickelt.de> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Fix race condition in TestBlackboxJobLimitsChristian Kandeler2018-08-131-10/+32
| | | | | | | Do proper file locking in the test app. Change-Id: I985006c0e48a21b9412afd461edc3d7b9f02fcce Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Fix JobLimits autotest on macOSChristian Kandeler2018-08-091-0/+4
| | | | | Change-Id: I0fff631d5ddccf57ac67a7afd811ca319d589731 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Add support for job poolsChristian Kandeler2018-08-082-0/+158
Commands can now be assigned to an arbitrary job pool and a limit for the number of concurrently running jobs in such pools can be provided in a number of ways: - via the build command line: qbs --job-limits linker:1 - via the settings: qbs config preferences.jobLimit.linker 1 - in a project file: JobLimit { jobPool: "linker"; jobCount: 1 } We provide two job pools ourselves with the cpp module: "compiler" and "linker". [ChangeLog] Added the concept of job pools for limiting concurrent execution of commands by type Task-number: QBS-743 Change-Id: Ib3f361dbc73093e342bf0eba0daf2079a2b3a8ce Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>