GNU bug report logs - #67862
30.0.50; Handler-bind and ert-test-error-debug

Previous Next

Package: emacs;

Reported by: Stefan Monnier <monnier <at> iro.umontreal.ca>

Date: Sun, 17 Dec 2023 00:38:02 UTC

Severity: normal

Found in version 30.0.50

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


Message #28 received at 67862-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Gerd Möllmann <gerd.moellmann <at> gmail.com>
Cc: 67862-done <at> debbugs.gnu.org, monnier <at> iro.umontreal.ca, ohler <at> gnu.org
Subject: Re: bug#67862: 30.0.50; Handler-bind and ert-test-error-debug
Date: Mon, 01 Jan 2024 14:15:12 +0200
> Cc: 67862-done <at> debbugs.gnu.org, Christian Ohler <ohler <at> gnu.org>
> From: Gerd Möllmann <gerd.moellmann <at> gmail.com>
> Date: Mon, 01 Jan 2024 06:56:44 +0100
> 
> Stefan Monnier <monnier <at> iro.umontreal.ca> writes:
> 
> > My conclusion is that the three tests that are broken by the use of
> > `handler-bind` are "bad" tests in the sense that they tested for
> > a behavior which corresponds to a failure of ERT (they verified that
> > ERT's error-tracing infrastructure is rendered inoperable by
> > a surrounding `condition-case`, which amounts to saying that ERT was not
> > working correctly when called within a `condition-case`).
> 
> That makes sense, yes.

I wonder why should we leave these tests in the files, instead of
removing them?  What purpose does that serve?




This bug report was last modified 1 year and 111 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.