Re: While generating lcov HTML test coverage reports.
From:
Assaf Gordon
Subject:
Re: While generating lcov HTML test coverage reports.
Date:
Tue, 28 Jul 2015 13:41:13 +0000
User-agent:
Mutt/1.5.21 (2010-09-15)
Hello,
On Mon, Jul 27, 2015 at 12:41:21AM +1000, Rakesh Kumar wrote:
> While trying to generate HTML test coverage reports, I am facing an
> error. Can anyone please advice on this. Help would be appreciated.
>
> [00:36 rakesh@param
> /home/rakesh/development/gnu_development/coreutils$] :
> lcov -t coreutils -q -d lib -b `pwd` -o lib.lcov -c
>
> Cannot open source file parse-datetime.c
>
There's a built-in make target that will generate coverage information,
please try it first:
make coverage
should rebuild the entire package and eventually generate
the file ./doc/coverage/index.html .
Does that method work for you?
regards,
- assaf