tests: Refine the repl function.
authorJustus Winter <justus@g10code.com>
Mon, 19 Sep 2016 16:45:44 +0000 (18:45 +0200)
committerJustus Winter <justus@g10code.com>
Mon, 19 Sep 2016 16:49:17 +0000 (18:49 +0200)
commit884e78efe1f3ba50513bf81c8b4804d22b25eac4
tree8118a981411d5f6a0ab428e98c3969cef8101397
parent9a0659a65c52378de1c4736a0eddf8518eb20948
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>
tests/gpgscm/repl.scm