gpgscm: Make the verbose setting more useful.
authorJustus Winter <justus@g10code.com>
Tue, 26 Jul 2016 13:53:50 +0000 (15:53 +0200)
committerJustus Winter <justus@g10code.com>
Tue, 26 Jul 2016 13:53:50 +0000 (15:53 +0200)
commitf17aecbcd98103fcd2ece537be96930f354de656
treeed1492b60b4d254a49631669c5b2deed0b53573b
parentb3610badf691178bbbf0831af9aa6b6658c1948a
gpgscm: Make the verbose setting more useful.

* tests/gpgscm/ffi.c (do_get_verbose): New function.
(do_set_verbose): Likewise.
(ffi_init): Turn *verbose* into a function, add *set-verbose!*.
* tests/gpgscm/tests.scm (call): Adapt accordingly.
(call-with-io): Dump output if *verbose* is high.
(pipe-do): Adapt accordingly.
* tests/openpgp/defs.scm: Set verbosity according to environment.
* tests/openpgp/run-tests.scm (test): Adapt accordingly.

Signed-off-by: Justus Winter <justus@g10code.com>
tests/gpgscm/ffi.c
tests/gpgscm/tests.scm
tests/openpgp/defs.scm
tests/openpgp/run-tests.scm