running all the tests

Justus Winter justus at g10code.com
Mon Aug 7 18:53:43 CEST 2017


Daniel Kahn Gillmor <dkg at fifthhorseman.net> writes:

> hello GnuPG folks--
>
> This morning i noticed b0112dbca91e720a4ff622ad0e88d99eba56203a on master:
>
>     tests: Do not run all tests unless in maintainer mode.
>     
>     * configure.ac: Leak the maintainer mode flag into 'config.h'.
>     * tests/gpgscm/ffi.c: Pass it into the scheme environment.
>     * tests/openpgp/all-tests.scm: Only run tests against non-default
>     configurations (keyring, extended-key-format) in maintainer mode.
>     --
>     
>     Werner is concerned that the tests do take up too much time and asked
>     me to reduce the runtime of the tests for normal users.
>     
>     Signed-off-by: Justus Winter <justus at g10code.com>

I'm saddened by this change as well.

> It also looked to me like the test suite wasn't running jobs in
> parallel.  If the test suite could be parallelized (i don't know whether
> that's possible or if there's ) then on most modern computers it could
> run significantly faster as well.

Yes.  make check-all TESTFLAGS=--parallel.  There is documentation in
tests/openpgp/README.


Justus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 487 bytes
Desc: not available
URL: </pipermail/attachments/20170807/a06b70f5/attachment.sig>


More information about the Gnupg-devel mailing list