1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-09 23:39:51 +02:00
gnupg/tests/gpgscm
Justus Winter e7429b1ced gpgscm: Better error reporting.
* tests/gpgscm/ffi.scm: Move the customized exception handling and
atexit logic...
* tests/gpgscm/init.scm: ... here.
(throw): Record the current history.
(throw'): New function that is history-aware.
(rethrow): New function.
(*error-hook*): Use the new throw'.
* tests/gpgscm/main.c (load): Fix error handling.
(main): Save and use the 'sc->retcode' as exit code.
* tests/gpgscm/repl.scm (repl): Print call history.
* tests/gpgscm/scheme.c (_Error_1): Make a snapshot of the history,
use it to provide a accurate location of the expression causing the
error at runtime, and hand the history trace to the '*error-hook*'.
(opexe_5): Tag all lists at parse time with the current location.
* tests/gpgscm/tests.scm: Update calls to 'throw', use 'rethrow'.

Signed-off-by: Justus Winter <justus@g10code.com>
2016-12-08 17:22:50 +01:00
..
ffi-private.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
ffi.c gpgscm: Expose seek and associated constants. 2016-11-08 16:02:55 +01:00
ffi.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
ffi.scm gpgscm: Better error reporting. 2016-12-08 17:22:50 +01:00
init.scm gpgscm: Better error reporting. 2016-12-08 17:22:50 +01:00
lib.scm gpgscm: Expose seek and associated constants. 2016-11-08 16:02:55 +01:00
LICENSE.TinySCHEME Add license notices for TinySCHEME. 2016-06-17 18:53:45 +02:00
main.c gpgscm: Better error reporting. 2016-12-08 17:22:50 +01:00
Makefile.am Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
Manual.txt Fix more spelling 2016-09-17 16:00:37 +09:00
opdefines.h gpgscm: Keep a history of calls for error messages. 2016-12-08 17:15:20 +01:00
private.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
repl.scm gpgscm: Better error reporting. 2016-12-08 17:22:50 +01:00
scheme-config.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
scheme-private.h gpgscm: Keep a history of calls for error messages. 2016-12-08 17:15:20 +01:00
scheme.c gpgscm: Better error reporting. 2016-12-08 17:22:50 +01:00
scheme.h gpgscm: Keep a history of calls for error messages. 2016-12-08 17:15:20 +01:00
t-child.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
t-child.scm gpgscm: Improve test of low-level functions. 2016-10-07 16:25:55 +02:00
tests.scm gpgscm: Better error reporting. 2016-12-08 17:22:50 +01:00