GNU bug report logs - #25471
26.0.50; Edebug and Testcover give incorrect code coverage results for code that uses 'unknown

Previous Next

Package: emacs;

Reported by: Gemini Lasswell <gazally <at> runbox.com>

Date: Tue, 17 Jan 2017 21:26:02 UTC

Severity: normal

Tags: fixed

Found in version 26.0.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Gemini Lasswell <gazally <at> runbox.com>
Cc: 25471 <at> debbugs.gnu.org
Subject: Re: bug#25471: 26.0.50; Edebug and Testcover give incorrect code
 coverage results for code that uses 'unknown
Date: Sat, 06 Feb 2021 12:29:35 +0100
Gemini Lasswell <gazally <at> runbox.com> writes:

> This could be very simply fixed by changing Edebug to use
> `edebug-unknown' instead. The other symbols currently used to record
> code coverage are `1value' and `ok-coverage', and they could be changed
> respectively to `testcover-1value' and `edebug-ok-coverage'. edebug.el
> and testcover.el still wouldn't be able to do code coverage on
> themselves, but they should then work for everybody else.

I've now done the renaming in testcover.el in Emacs 28, too, and the
test case seems to work the same as before, so I'm closing this bug
report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 4 years and 109 days ago.

Previous Next


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