mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
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>
This commit is contained in:
parent
b3610badf6
commit
f17aecbcd9
4 changed files with 39 additions and 5 deletions
|
@ -72,7 +72,7 @@
|
|||
(define test
|
||||
(package
|
||||
(define (scm name . args)
|
||||
(new name #f `(,*argv0* ,@(verbosity *verbose*) ,@args
|
||||
(new name #f `(,*argv0* ,@(verbosity (*verbose*)) ,@args
|
||||
,(in-srcdir name)) #f #f))
|
||||
(define (new name directory command pid retcode)
|
||||
(package
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue