From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Newsgroups: gmane.lisp.guile.user Subject: Re: Help me setup test coverage Date: Mon, 12 Mar 2018 15:55:36 +0100 Message-ID: <87zi3dmjh3.fsf@gnu.org> References: <1520363274.2996.0@mail.gandi.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1520866508 7221 195.159.176.226 (12 Mar 2018 14:55:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 12 Mar 2018 14:55:08 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon Mar 12 15:55:04 2018 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1evOqt-0001ka-HX for guile-user@m.gmane.org; Mon, 12 Mar 2018 15:55:03 +0100 Original-Received: from localhost ([::1]:59294 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1evOsw-00013w-E1 for guile-user@m.gmane.org; Mon, 12 Mar 2018 10:57:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45221) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1evOre-0000Og-6s for guile-user@gnu.org; Mon, 12 Mar 2018 10:55:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1evOra-0002fj-4n for guile-user@gnu.org; Mon, 12 Mar 2018 10:55:50 -0400 Original-Received: from [195.159.176.226] (port=33009 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1evOrZ-0002Zc-UP for guile-user@gnu.org; Mon, 12 Mar 2018 10:55:46 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1evOpS-0008Kb-PH for guile-user@gnu.org; Mon, 12 Mar 2018 15:53:34 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 25 Original-X-Complaints-To: usenet@blaine.gmane.org X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 22 =?utf-8?Q?Vent=C3=B4se?= an 226 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Cancel-Lock: sha1:0xKiURqYN3NlfcRT0spdJXbvnFM= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.org gmane.lisp.guile.user:14481 Archived-At: Hello, amirouche skribis: > I've setup a simple example, it requires guile and lcov for genhtml. > > You can reproduce the issue as follow: > > $ git clone https://github.com/a-guile-mind/coverage > $ cd coverage > $ make > test echo > Overall coverage rate: > lines......: 0.0% (0 of 9164 lines) > functions..: no data found > > As you can see in the output, no lines seems to be visited by the vm. > The output should be at least one, the line inside test.scm. I think you need to use the VM’s “debug” engine, the one you get when invoking “guile --debug”. HTH! Ludo’.