GNU bug report logs -
#51131
29.0.50; Segfault in ERT test
Previous Next
Reported by: Helmut Eller <eller.helmut <at> gmail.com>
Date: Mon, 11 Oct 2021 06:08:01 UTC
Severity: normal
Found in version 29.0.50
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Philipp Stephani <p.stephani2 <at> gmail.com> writes:
> I don't think that's the right fix. I added backtrace support in batch
> mode primarily for unit tests running on CI systems; this is exactly
> the situation where I want backtrace-on-error-noninteractive to be t.
> Can we revert commit 07edc28bdbfeeaeb1008b4fe21bfda586feae562 and find
> a better way?
ert wants to collect the backtrace, but the test itself subverted that
(by setting debug-on-error to nil and then having an error in the test).
I don't see why Emacs should output a backtrace inside a test like that.
But Emacs will still output
Error running tests
backtrace()
#f(compiled-function () #<bytecode -0x1fecd686855e18f0>)()
ert-run-tests-batch-and-exit()
command-line-1(("-l" "/tmp/test.el" "-f" "ert-run-tests-batch-and-exit"))
command-line()
normal-top-level()
at the end.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 3 years and 219 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.