GNU bug report logs - #79056
tab-bar-tests-quit-restore-window sometimes fails in *compilation* buffer

Previous Next

Package: emacs;

Reported by: Paul Eggert <eggert <at> cs.ucla.edu>

Date: Sat, 19 Jul 2025 22:50:02 UTC

Severity: normal

Full log


Message #29 received at 79056 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: Eli Zaretskii <eliz <at> gnu.org>, eggert <at> cs.ucla.edu, 79056 <at> debbugs.gnu.org
Subject: Re: bug#79056: tab-bar-tests-quit-restore-window sometimes fails in
 *compilation* buffer
Date: Wed, 23 Jul 2025 19:58:50 +0300
>> Automatic tests on EMBA can't be interactive without headless mode.
>> So what remains to do is to manually run interactive tests locally.
>> But IIUC `make -C test tab-bar-tests` is noninteractive.
>> And I don't know what command line could run them interactively,
>> so that tests could pop up X frames, etc.
>
> See test/README:
>
> The tests are run in batch mode by default; sometimes it's useful to
> get precisely the same environment but run in interactive mode for
> debugging.  To do that, use
>
>     make TEST_INTERACTIVE=yes ...
>
> (I haven't used this for years, so I don't know whether it still works)

Thanks for the reference.  I expected something like this should exist,
but didn't remember if it really existed.

Now I tried to run

  make TEST_INTERACTIVE=yes -C test tab-bar-tests

after applying the patch provided by Paul.

And interactive tests are passed successfully,
the output buffer displays:

  Passed:  3
  Failed:  0
  Skipped: 0
  Total:   3/3

Probably this can't be used on EMBA.  So for automatic tests
we could still try to add headless mode by implementing
a set of hooks like described by Eli.




This bug report was last modified 21 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.