diff options
author | Justus Winter <[email protected]> | 2017-06-19 14:31:25 +0000 |
---|---|---|
committer | Justus Winter <[email protected]> | 2017-06-19 14:51:32 +0000 |
commit | 61ef43546ba9f0209692a1569d2f033436566a02 (patch) | |
tree | fad867ae52176e211985e9585e7837dc7598142c /g10/decrypt-data.c | |
parent | gpgscm: Improve option parsing. (diff) | |
download | gnupg-61ef43546ba9f0209692a1569d2f033436566a02.tar.gz gnupg-61ef43546ba9f0209692a1569d2f033436566a02.zip |
gpgscm: Limit the number of parallel jobs.
* ffi.c (do_wait_processes): Suppress the timeout error.
* tests.scm (semaphore): New definition.
(test-pool): Only run a bounded number of tests in parallel.
(test::started?): New function.
(run-tests-parallel): Do not report results, do not start the tests.
(run-tests-sequential): Adapt.
(run-tests): Parse the number of parallel jobs.
--
This change limits the number of tests that are run in parallel. This
way we do not overwhelm the operating systems' scheduler. As a
side-effect, we also get more accurate runtime information, and it
will be easy to implement timeouts on top of this.
Use TESTFLAGS to limit the number of jobs:
$ make check-all TESTFLAGS=--parallel=16
Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to 'g10/decrypt-data.c')
0 files changed, 0 insertions, 0 deletions