[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help me setup test coverage
From: |
Ludovic Courtès |
Subject: |
Re: Help me setup test coverage |
Date: |
Mon, 12 Mar 2018 15:55:36 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Hello,
amirouche <address@hidden> 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’.