unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Gerd Möllmann" <gerd.moellmann@gmail.com>
To: Ihor Radchenko <yantar92@posteo.net>
Cc: 58941@debbugs.gnu.org
Subject: bug#58941: 28.1.90; ERT tests and backtraces
Date: Tue, 01 Nov 2022 08:24:23 +0100	[thread overview]
Message-ID: <m21qqnxhlk.fsf@Mini.fritz.box> (raw)
In-Reply-To: <874jvjjjlq.fsf@localhost> (Ihor Radchenko's message of "Tue, 01 Nov 2022 06:04:49 +0000")

Ihor Radchenko <yantar92@posteo.net> writes:

> Hi,
>
> Currently, when one runs tests and error is thrown inside `should'
> forms, no meaningful backtrace is being produced.
>
> This is because `should' wraps the code into `condition-case' that
> truncates the backtraces.
>
> Would it be possible to allow more informative backtraces in failed ERT
> tests?
>
> An example of useless backtrace can be found in
> https://builds.sr.ht/~bzg/job/872738:

Yep, that's bug#50629@.  No solution in sight, I'm afraid.





  reply	other threads:[~2022-11-01  7:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-01  6:04 bug#58941: 28.1.90; ERT tests and backtraces Ihor Radchenko
2022-11-01  7:24 ` Gerd Möllmann [this message]
2022-11-01  8:31   ` Ihor Radchenko
2022-11-01  8:38     ` Gerd Möllmann
2022-11-01  9:59   ` Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m21qqnxhlk.fsf@Mini.fritz.box \
    --to=gerd.moellmann@gmail.com \
    --cc=58941@debbugs.gnu.org \
    --cc=yantar92@posteo.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).