bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#16853: 24.3.50; ert-run-tests-interactively difficult to abort


From: Helmut Eller
Subject: bug#16853: 24.3.50; ert-run-tests-interactively difficult to abort
Date: Mon, 08 Sep 2014 16:02:53 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]