GNU bug report logs -
#65763
Error opening a file from a Git working directory if Git is not installed
Previous Next
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
The problem appears to be only with `debug-on-error'. However, there are
cases where you cannot control it at all, e.g. with ERT (probably also
Buttercup or any other testing framework). In effect, an ERT test fails for
a "random" reason, depending on which machine it is executed, i.e. it fails
inside that Docker container.
Paul
On Wed, 6 Sept 2023 at 04:26, Eli Zaretskii <eliz <at> gnu.org> wrote:
> > From: Paul Pogonyshev <pogonyshev <at> gmail.com>
> > Date: Tue, 5 Sep 2023 22:14:15 +0200
> > Cc: 65763 <at> debbugs.gnu.org
> >
> > Ah, `debug-on-error' makes `with-demoted-errors' not demote it.
>
> Yes, exactly.
>
> > It seems in my case `debug-on-error' is let-bound in
> `ert--run-test-internal'. I.e. when file is failed to be
> > opened inside a ERT-based test, there is no warning, it's a hard error.
> I happen to run ERT tests
> > inside a Docker container.
> >
> > I'm not sure if it is a bug, but it does cause problems.
>
> Are the problems it causes happen only when debug-on-error is non-nil
> for some reason? Or did you see it cause problems in other cases as
> well?
>
[Message part 2 (text/html, inline)]
This bug report was last modified 1 year and 278 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.