[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#50629: 28.0.50; hard to debug an uncaught error with ert
From: |
Gerd Möllmann |
Subject: |
bug#50629: 28.0.50; hard to debug an uncaught error with ert |
Date: |
Sun, 28 Aug 2022 12:31:20 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (darwin) |
Lars Ingebrigtsen <larsi@gnus.org> writes:
> Gerd Möllmann <gerd.moellmann@gmail.com> writes:
>
>> Interestingly with condition-case-unless I get one less error with make
>> check:
>
> Are you sure you removed all the .elc files under test first? Since
> this is a change in an ert macro, you have to do that to get meaningful
> results.
I did a make -C test clean, but now that you say it I checked, and make
clean does not remove elcs. Which I personally find surprising.
I'll check with elcs removed between runs later.
> Anyway, that condition-case is presumably there to allow checking for
> failures? I.e., the :expected stuff.
Ok.
> Instead of altering removing the condition-case there, wouldn't it be
> possible to output the backtrace explicitly in the handler?
You mean the signal-hook-function? It is invoked, so one can do
something there. If it would invoke the debugger, that would also work,
I think, but I haven't checked. Directly outputting something there is
probably not a good idea. If anything it should record the backtrace in
ERT result structs, like ERT's debugger function.
- bug#50629: 28.0.50; hard to debug an uncaught error with ert, (continued)
- bug#50629: 28.0.50; hard to debug an uncaught error with ert, Gerd Möllmann, 2022/08/27
- bug#50629: 28.0.50; hard to debug an uncaught error with ert, Lars Ingebrigtsen, 2022/08/27
- bug#50629: 28.0.50; hard to debug an uncaught error with ert, Gerd Möllmann, 2022/08/27
- bug#50629: 28.0.50; hard to debug an uncaught error with ert, Lars Ingebrigtsen, 2022/08/27
- bug#50629: 28.0.50; hard to debug an uncaught error with ert, Mike Kupfer, 2022/08/27
- bug#50629: 28.0.50; hard to debug an uncaught error with ert, Lars Ingebrigtsen, 2022/08/27
- bug#50629: 28.0.50; hard to debug an uncaught error with ert, Gerd Möllmann, 2022/08/27
- bug#50629: 28.0.50; hard to debug an uncaught error with ert, Ihor Radchenko, 2022/08/27
- bug#50629: 28.0.50; hard to debug an uncaught error with ert, Gerd Möllmann, 2022/08/28
- bug#50629: 28.0.50; hard to debug an uncaught error with ert, Lars Ingebrigtsen, 2022/08/28
- bug#50629: 28.0.50; hard to debug an uncaught error with ert,
Gerd Möllmann <=
- bug#50629: 28.0.50; hard to debug an uncaught error with ert, Gerd Möllmann, 2022/08/28
- bug#50629: 28.0.50; hard to debug an uncaught error with ert, Gerd Möllmann, 2022/08/28
- bug#50629: 28.0.50; hard to debug an uncaught error with ert, Lars Ingebrigtsen, 2022/08/29
- bug#50629: 28.0.50; hard to debug an uncaught error with ert, Gerd Möllmann, 2022/08/29
- bug#50629: 28.0.50; hard to debug an uncaught error with ert, Lars Ingebrigtsen, 2022/08/29