Home GnuPG

tests: Rework environment setup.

Description

tests: Rework environment setup.

* tests/gpgscm/tests.scm (test::scm): Add a setup argument.
(test::binary): Likewise.
(run-tests-parallel): Remove setup parameter.
(run-tests-sequential): Likewise.
(make-environment-cache): New function that handles the cache
protocol.
* tests/gpgme/run-tests.scm: Adapt accordingly.
* tests/gpgsm/run-tests.scm: Likewise.
* tests/migrations/run-tests.scm: Likewise.
* tests/openpgp/run-tests.scm: Likewise.

This change allows us to have different environments for tests. This
is needed to run more GPGME tests, and to increase concurrency while
running all tests.

  • Signed-off-by: Justus Winter <justus@g10code.com>

Details

Provenance
justusAuthored on Mar 9 2017, 1:26 PM
Parents
rEca3d31ec7761: gpgscm: Use system strlwr if available.
Branches
Unknown
Tags
Unknown