Hello, On Thu 29 Oct 2020 at 03:42PM -04, Nicholas D. Steeves wrote:
> Thomas Koch added a nice workaround for truncated backtraces at: > > https://wiki.debian.org/Teams/DebianEmacsenTeam/Tips > > that workaround is d/elpa-test: > > ert_eval = (setq ert-batch-backtrace-right-margin 500) > > and I wonder if it should be activated by default, in the spirit of > Policy ยง4.9 "The package build should be as verbose as reasonably > possible". Speaking for myself, I would find it helpful, especially > for the rare corner cases where only noninteractive --batch ert tests > will trigger a failure. Also, I've been asked for untruncated > backtraces by various upstreams. > > The only potential issue I can think of is that the reproducible and > DebCI build logs will have then have long lines, but I feel like the > benefit outweighs this consideration. A possible, though not ideal, > solution to this potential issue might be to word-wrap the backtrace, > but that functionality should probably be enabled in upstream Emacs. > > Let's consider setting `ert-batch-backtrace-right-margin` to a large > value in the meantime. I think this is a good idea. Patches welcome. -- Sean Whitton
signature.asc
Description: PGP signature