GNU bug report logs - #16853
24.3.50; ert-run-tests-interactively difficult to abort

Previous Next

Package: emacs;

Reported by: Helmut Eller <eller.helmut <at> gmail.com>

Date: Sun, 23 Feb 2014 14:50:02 UTC

Severity: wishlist

Tags: fixed, patch

Found in version 24.3.50

Fixed in version 26.1

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Helmut Eller <eller.helmut <at> gmail.com>
To: 16853 <at> debbugs.gnu.org
Subject: bug#16853: 24.3.50; ert-run-tests-interactively difficult to abort
Date: Mon, 08 Sep 2014 16:02:53 +0200
On Mon, Sep 08 2014, Andreas Röhler wrote:

>> I need to test display related code, like checking if the proper region
>> is visible; that wouldn't work in batch mode.
>
> Why not? But understand there might be some work left to write the
> related test, checks if being visible.

Try this:
 emacs -batch -eval '(message "%s" (pos-visible-in-window-p (window-start)))'

It prints nil.  Shouldn't window-start always be visible?

>   Also the *ert* buffer is
>> easier to browse than log files.
>>
>
> Get nice output here should something fail. Run this manually then...

Sure, use what works best for a given problem.  My log output is long
and full of random calls to "message".

Helmut





This bug report was last modified 8 years and 55 days ago.

Previous Next


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