GNU bug report logs - #66782
29.1; ERT tests reports test redefined depending on loading sequence

Previous Next

Package: emacs;

Reported by: Xiyue Deng <manphiz <at> gmail.com>

Date: Fri, 27 Oct 2023 21:01:02 UTC

Severity: normal

Found in version 29.1

Done: Mattias EngdegÄrd <mattias.engdegard <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Xiyue Deng <manphiz <at> gmail.com>
Cc: mattiase <at> acm.org, 66782 <at> debbugs.gnu.org
Subject: bug#66782: 29.1; ERT tests report test redefined depending on loading sequence
Date: Sat, 28 Oct 2023 14:34:53 +0300
> From: Xiyue Deng <manphiz <at> gmail.com>
> Cc: mattiase <at> acm.org,  66782 <at> debbugs.gnu.org
> Date: Sat, 28 Oct 2023 04:14:15 -0700
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> > OK, but why do that in a single Emacs session?  That is unclean for
> > much more important reasons: some left-overs from previous tests could
> > affect the following tests.  IMO, each test should be run in a fresh
> > Emacs session, i.e. no command line should ever load more than a
> > single test file.
> 
> I think one reason is that doing all test in one session gives you a
> nice summary of how many tests passed and which ones failed in the end.
> If you run just one test per session you'll have to inspect the results
> manually which could be much more time consuming for large test suites,
> and plus it may be slower.

The usual way of doing this is to generate summary by some shell
script, which runs all the tests one by one.  Emacs is not the only
program that can count ;-)





This bug report was last modified 1 year and 202 days ago.

Previous Next


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