Re: improving lcov reports

Hi Stefan,

thanks a lot for your feedback, I'll check this out in,
likely after my holidays (which I'll start tomorrow :))... 

...but meanwhile, Alejandro, if you have time these days you can play a
little bit with Stefan's suggestion and check if this works ok for us.
The coverage reports generation is done in the script.



On Wed, 2007-08-01 at 20:05 +0300, Stefan Kost wrote:
> hi,
> I just looked at this coverage report:
> imho lcov has a bug to include other sources/include in the report, but I've got
> a workaround from the lcov developers
> I wonder if and where we can use this for
> here is how I filter the lcov output (lcov --extract)
> coverage::
> 	mkdir -p ./coverage
> 	lcov --directory . --zerocounters
> 	-$(MAKE) check
> 	lcov --directory ./src --capture --output-file ./coverage/$(PACKAGE)
> 	lcov --extract ./coverage/$(PACKAGE) "$(PWD)/src*" -o
> ./coverage/$(PACKAGE).info
> 	$(RM) ./coverage/$(PACKAGE)
> 	genhtml -o ./coverage --num-spaces 2 ./coverage/$(PACKAGE).info
> I need to check if $(PWD) works in all cases. I can't use $(top_srcdir) as this
> is relative.
> Stefan
> _______________________________________________
> Build-brigade-list mailing list
> Build-brigade-list gnome org

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]