GNU bug report logs - #29025
Option to run ERT in quiet mode

Previous Next

Package: emacs;

Reported by: Paul Pogonyshev <pogonyshev <at> gmail.com>

Date: Fri, 27 Oct 2017 09:52:02 UTC

Severity: wishlist

Tags: patch

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 29025 in the body.
You can then email your comments to 29025 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#29025; Package emacs. (Fri, 27 Oct 2017 09:52:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Paul Pogonyshev <pogonyshev <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 27 Oct 2017 09:52:02 GMT) Full text and rfc822 format available.

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

From: Paul Pogonyshev <pogonyshev <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Option to run ERT in quiet mode
Date: Fri, 27 Oct 2017 11:51:40 +0200
[Message part 1 (text/plain, inline)]
Severity: wishlist
Tags: patch

When running ERT from command-line with (ert-run-tests-batch ...), it
prints lots of lines for passed tests. The attached patch adds
variable `ert-quiet' that lets you omit such non-important lines:

    (let ((ert-quiet t)) (ert-run-tests-batch ...))

Of course, default is nil, so there is no change for existing
invocations. It is fully backward compatible. Users don't have to
check Emacs version prior to binding this variable: on older version
there will be no effect, but ERT will work.

Paul
[0001-Add-ert-quiet-variable.patch (text/x-patch, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#29025; Package emacs. (Fri, 27 Oct 2017 12:04:01 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Paul Pogonyshev <pogonyshev <at> gmail.com>
Cc: 29025 <at> debbugs.gnu.org
Subject: Re: bug#29025: Option to run ERT in quiet mode
Date: Fri, 27 Oct 2017 15:03:16 +0300
> From: Paul Pogonyshev <pogonyshev <at> gmail.com>
> Date: Fri, 27 Oct 2017 11:51:40 +0200
> 
> When running ERT from command-line with (ert-run-tests-batch ...), it
> prints lots of lines for passed tests. The attached patch adds
> variable `ert-quiet' that lets you omit such non-important lines:
> 
>     (let ((ert-quiet t)) (ert-run-tests-batch ...))
> 
> Of course, default is nil, so there is no change for existing
> invocations. It is fully backward compatible. Users don't have to
> check Emacs version prior to binding this variable: on older version
> there will be no effect, but ERT will work.

Thanks, but please also provide patches for the Texinfo manual and
NEWS.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#29025; Package emacs. (Fri, 27 Oct 2017 12:27:01 GMT) Full text and rfc822 format available.

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

From: Paul Pogonyshev <pogonyshev <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 29025 <at> debbugs.gnu.org
Subject: Re: bug#29025: Option to run ERT in quiet mode
Date: Fri, 27 Oct 2017 14:26:38 +0200
[Message part 1 (text/plain, inline)]
Attached is the patch extended with requested changes.

Paul

On 27 October 2017 at 14:03, Eli Zaretskii <eliz <at> gnu.org> wrote:
>> From: Paul Pogonyshev <pogonyshev <at> gmail.com>
>> Date: Fri, 27 Oct 2017 11:51:40 +0200
>>
>> When running ERT from command-line with (ert-run-tests-batch ...), it
>> prints lots of lines for passed tests. The attached patch adds
>> variable `ert-quiet' that lets you omit such non-important lines:
>>
>>     (let ((ert-quiet t)) (ert-run-tests-batch ...))
>>
>> Of course, default is nil, so there is no change for existing
>> invocations. It is fully backward compatible. Users don't have to
>> check Emacs version prior to binding this variable: on older version
>> there will be no effect, but ERT will work.
>
> Thanks, but please also provide patches for the Texinfo manual and
> NEWS.
[0001-Add-ert-quiet-variable.patch (text/x-patch, attachment)]

Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Sat, 28 Oct 2017 10:52:02 GMT) Full text and rfc822 format available.

Notification sent to Paul Pogonyshev <pogonyshev <at> gmail.com>:
bug acknowledged by developer. (Sat, 28 Oct 2017 10:52:02 GMT) Full text and rfc822 format available.

Message #16 received at 29025-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Paul Pogonyshev <pogonyshev <at> gmail.com>
Cc: 29025-done <at> debbugs.gnu.org
Subject: Re: bug#29025: Option to run ERT in quiet mode
Date: Sat, 28 Oct 2017 13:51:19 +0300
> From: Paul Pogonyshev <pogonyshev <at> gmail.com>
> Date: Fri, 27 Oct 2017 14:26:38 +0200
> Cc: 29025 <at> debbugs.gnu.org
> 
> Attached is the patch extended with requested changes.

Thanks, pushed to the master branch.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 25 Nov 2017 12:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 211 days ago.

Previous Next


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