tests: Speed up the test suite.
authorJustus Winter <justus@g10code.com>
Mon, 5 Sep 2016 15:17:24 +0000 (17:17 +0200)
committerJustus Winter <justus@g10code.com>
Mon, 5 Sep 2016 15:26:50 +0000 (17:26 +0200)
commit46c4333c372f0e1ad2aadc411490c2a330b4c5a6
tree65c710a7f11b99c66ab71e3f4656d67750d27748
parentc97bde2dfeab23a84b4788d998934ac49ff5b797
tests: Speed up the test suite.

* tests/openpgp/run-tests.scm (test::run-sync): Pass additional
arguments to the test.
(test::run-sync-quiet): Likewise.
(test::run-async): Likewise.
(run-tests-{parallel,sequential}-isolated): Create a tarball of the
gnupghome, then extract it for each test.
* tests/openpgp/setup.scm: Refactor into functions, add an interface
to tar-up the created environment, and untar it multiple times.

Signed-off-by: Justus Winter <justus@g10code.com>
tests/openpgp/run-tests.scm
tests/openpgp/setup.scm