Home GnuPG
Diffusion GnuPG cca91a3f8f7e

tests: Rework environment setup.
cca91a3f8f7eUnpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

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
rGed5575ec550f: wks: Put stdout into binary mode for Windows at another place.
Branches
Unknown
Tags
Unknown

Event Timeline

Justus Winter <justus@g10code.com> committed rGcca91a3f8f7e: tests: Rework environment setup. (authored by Justus Winter <justus@g10code.com>).Mar 9 2017, 1:26 PM