GNU bug report logs - #54911
Missing modules argument for coverage-data->lcov

Previous Next

Package: guile;

Reported by: Jessica Tallon <tsyesika <at> tsyesika.se>

Date: Wed, 13 Apr 2022 14:09:02 UTC

Severity: normal

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Jessica Tallon <tsyesika <at> tsyesika.se>
To: 54911 <at> debbugs.gnu.org
Subject: bug#54911: Missing modules argument for coverage-data->lcov
Date: Wed, 13 Apr 2022 16:01:27 +0200
[Message part 1 (text/plain, inline)]
Hello,

I noticed the documentation specify that the `coverage-data->lcov`
function should be able to take modules to limit the scope of the data
that's coverted to lcov. From the docs:

 -- Scheme Procedure: coverage-data->lcov data port #:key modules
     Traverse code coverage information DATA, as obtained with
     ‘with-code-coverage’, and write coverage information to port in the
     ‘.info’ format used by LCOV
     (http://ltp.sourceforge.net/coverage/lcov.php).  The report will
     include all of MODULES (or, by default, all the currently loaded
     modules) even if their code was not executed.

However I noticed that this didn't match the code. I've attached a patch
which implements the behavour described in the docs.

Thanks,
Jessica.

[0001-Fix-missing-modules-argument-for-coverage-data-lcov.patch (text/x-patch, attachment)]

This bug report was last modified 2 years and 337 days ago.

Previous Next


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