unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* [PATCH] fix incorrect documentation for coverage-data->lcov
@ 2019-08-28  3:42 Peter Elliott
  2019-08-28 20:42 ` Timothy Sample
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Elliott @ 2019-08-28  3:42 UTC (permalink / raw)
  To: guile-devel

[-- Attachment #1: Type: text/plain, Size: 173 bytes --]

Hello,
coverage-data->lcov does not, and never has taken a 'modules'
argument, so I've removed it.
However, I would really like this, and might add it if it's not too hard.

[-- Attachment #2: 0001-Remove-modules-arg-from-coverage-data-lcov-doc.patch --]
[-- Type: text/x-patch, Size: 1387 bytes --]

From e0dbb70625d1dd850924122c64639994e2fed3b5 Mon Sep 17 00:00:00 2001
From: Peter Elliott <pelliott@ualberta.ca>
Date: Tue, 27 Aug 2019 20:19:15 -0700
Subject: [PATCH] Remove modules arg from coverage data->lcov doc

---
 doc/ref/api-coverage.texi | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/doc/ref/api-coverage.texi b/doc/ref/api-coverage.texi
index 5081d343b..92ae606b6 100644
--- a/doc/ref/api-coverage.texi
+++ b/doc/ref/api-coverage.texi
@@ -25,12 +25,12 @@ Return @code{#t} if @var{obj} is a @dfn{coverage data} object as returned by
 @code{with-code-coverage}.
 @end deffn
 
-@deffn {Scheme Procedure} coverage-data->lcov data port #:key modules
+@deffn {Scheme Procedure} coverage-data->lcov data port
 Traverse code coverage information @var{data}, as obtained with
 @code{with-code-coverage}, and write coverage information to port in the
 @code{.info} format used by @url{http://ltp.sourceforge.net/coverage/lcov.php,
-LCOV}.  The report will include all of @var{modules} (or, by default, all the
-currently loaded modules) even if their code was not executed.
+LCOV}.  The report will include all the modules loaded at the time coverage data was
+gathered, even if their code was not executed.
 
 The generated data can be fed to LCOV's @command{genhtml} command to produce an
 HTML report, which aids coverage data visualization.
-- 
2.22.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-08-28 20:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-28  3:42 [PATCH] fix incorrect documentation for coverage-data->lcov Peter Elliott
2019-08-28 20:42 ` Timothy Sample

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).