From: Jim Porter <jporterbugs@gmail.com>
To: Po Lu <luangruo@yahoo.com>, emacs-devel@gnu.org
Subject: Re: Arranging for windows of particular dimensions in xdisp-tests
Date: Tue, 30 Jan 2024 22:41:59 -0800 [thread overview]
Message-ID: <2d3cbbc5-de61-3fdd-e7dc-222f8adb4456@gmail.com> (raw)
In-Reply-To: <87eddyf27s.fsf@yahoo.com>
On 1/30/2024 10:26 PM, Po Lu wrote:
> I've just fixed several hangs in redisplay arising from `display'
> objects' being denied sufficient space by a line or wrap prefix, and
> consequently continuation lines being produced in an endless cycle
> inside move_it_to and display_line. Needless to say, tests for such
> bugs require that the windows where they execute be set to a particular
> size, which, considering that ERT tests are expected to run in both
> interactive sessions and in the initial frame, appears to be impossible.
>
> Ideas? Thanks in advance.
The easiest might be to skip the test when it can't be run (or fail the
test if you want to be noisier about it).
I suppose you could also spawn a second, entirely-separate Emacs
instance to test this part, although I'm not sure I'd *recommend* doing
that. In theory though, you could start up that second Emacs and pass it
a script to run, exiting with zero if the test succeeded.
next prev parent reply other threads:[~2024-01-31 6:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <87eddyf27s.fsf.ref@yahoo.com>
2024-01-31 6:26 ` Arranging for windows of particular dimensions in xdisp-tests Po Lu
2024-01-31 6:41 ` Jim Porter [this message]
2024-01-31 13:15 ` Eli Zaretskii
2024-01-31 14:01 ` Po Lu
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=2d3cbbc5-de61-3fdd-e7dc-222f8adb4456@gmail.com \
--to=jporterbugs@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=luangruo@yahoo.com \
/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).