|
From: | Stefan Monnier |
Subject: | bug#11218: with-demoted-errors use of condition-case-unless-debug; ert |
Date: | Thu, 19 Apr 2012 03:46:04 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) |
>>>>> If you replace with-demoted-errors with ignore-errors, the test passes. >>>> Looks like a bug in ERT. >>> I don't know if it's a "bug" per se... >>> ert--run-test-internal binds debug-on-error to t, and redefines the >>> debugger to ert--run-test-debugger. As the doc of that function says: >> I wonder why ERT doesn't just use condition-case to catch and record >> the errors. > Two reasons that I remember off the top of my head: Recording backtraces, > and recording additional information provided with `ert-info'. So the next question is: why does ERT record a backtrace and that extra information provided by ert-info? Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |