Home GnuPG
Diffusion GnuPG 178b6314ab2d

gpgscm: Make test cleanup more robust.
178b6314ab2dUnpublished

Unpublished Commit ยท Learn More

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

Description

gpgscm: Make test cleanup more robust.

* tests/gpgscm/tests.scm (mkdtemp-autoremove): New function that
cleans up at interpreter shutdown.
(run-tests-parallel): Use the new function.
(run-tests-sequential): Likewise.
(make-environment-cache): Execute setup with an temporary working
directory.

Make sure to remove all resources created in the filesystem even if
the test runner is interrupted. Make sure to remove anything that the
setup script creates.

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

Details

Provenance
justusAuthored on Mar 23 2017, 10:55 AM
Parents
rGfde885bbc47a: tests: Test '--quick-set-primary-uid'.
Branches
Unknown
Tags
Unknown

Event Timeline

Justus Winter <justus@g10code.com> committed rG178b6314ab2d: gpgscm: Make test cleanup more robust. (authored by Justus Winter <justus@g10code.com>).Mar 23 2017, 3:56 PM