1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00
Justus Winter 61ef43546b
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 <justus@g10code.com>
2017-06-19 16:51:32 +02:00
..
2017-04-11 10:43:52 +02:00
2017-06-19 16:51:28 +02:00
2017-04-24 14:28:57 +02:00
2017-04-24 14:28:57 +02:00
2017-05-11 17:41:03 +02:00
2017-05-11 17:41:03 +02:00
2016-09-17 16:00:37 +09:00
2017-04-10 14:57:30 +02:00
2016-12-08 17:22:50 +01:00
2017-06-19 16:51:28 +02:00
2017-04-10 14:57:35 +02:00
2017-04-12 12:05:53 +09:00
2017-04-24 15:47:29 +02:00
2017-04-24 14:28:57 +02:00