diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-05-25 20:21:35 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-05-25 20:21:35 -0700 |
commit | a0b712ca37537ca6067d8cd40bd1c232cb437cee (patch) | |
tree | 3516f01b0c843220691051f0e4f67c54a781669d /debug.h | |
parent | 37af727ac31be5890c0ee4e8a0fa3fcd1f559586 (diff) | |
download | txr-a0b712ca37537ca6067d8cd40bd1c232cb437cee.tar.gz txr-a0b712ca37537ca6067d8cd40bd1c232cb437cee.tar.bz2 txr-a0b712ca37537ca6067d8cd40bd1c232cb437cee.zip |
tests: fix vtest being hindrance to error finding.
* tests/common.tl (vtest): Only if the expected expression
is :error or (quote :error) do we wrap the expansion and
evaluation of the test expression with exception handling,
because only then do we expect an error. When the test
expression is anything else, we don't intercept any errors,
and so problems in test cases are easier to debug now.
* tests/012/struct.tl: In one case we must initialize
the *gensym-counter* to 4 to compensate for the change
in vtest to get the same gensym numbers in the output.
Diffstat (limited to 'debug.h')
0 files changed, 0 insertions, 0 deletions