diff options
author | Justus Winter <[email protected]> | 2017-04-11 08:43:52 +0000 |
---|---|---|
committer | Justus Winter <[email protected]> | 2017-04-11 08:43:52 +0000 |
commit | ccd2187212c12b84c86a10fd4417a16536243179 (patch) | |
tree | ebcf8c6f42a4a82e2ead5ba316bc5fe6855243fa /tests/gpgscm/main.c | |
parent | dirmngr: Fix build for Windows. (diff) | |
download | gnupg-ccd2187212c12b84c86a10fd4417a16536243179.tar.gz gnupg-ccd2187212c12b84c86a10fd4417a16536243179.zip |
tests: Move common functionality.
* tests/openpgp/defs.scm (with-home-directory,
with-ephemeral-home-directory): Move...
* tests/gpgscm/gnupg.scm: ... to this new file.
* tests/gpgscm/main.c (main): Load the new file.
Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to 'tests/gpgscm/main.c')
-rw-r--r-- | tests/gpgscm/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/gpgscm/main.c b/tests/gpgscm/main.c index 79072a540..5e04d978e 100644 --- a/tests/gpgscm/main.c +++ b/tests/gpgscm/main.c @@ -314,6 +314,8 @@ main (int argc, char **argv) err = load (sc, "repl.scm", 0, 1); if (! err) err = load (sc, "tests.scm", 0, 1); + if (! err) + err = load (sc, "gnupg.scm", 0, 1); if (err) { fprintf (stderr, "Error initializing gpgscm: %s.\n", |