Home GnuPG

tests: Refine the repl function.

Description

tests: Refine the repl function.

* tests/gpgscm/repl.scm (repl): Add an argument 'environment'.
(interactive-repl): Add an optional argument 'environment'.

With this change, we can drop

(interactive-repl (current-environment))

anywhere into the code and do some interactive debugging.

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

Details

Provenance
justusAuthored on Sep 19 2016, 6:45 PM
Parents
rEea399aaaf4c9: tests: Implement interpreter shutdown using exceptions.
Branches
Unknown
Tags
Unknown