improving lcov reports
- From: Stefan Kost <ensonic hora-obscura de>
- To: build-brigade-list gnome org
- Subject: improving lcov reports
- Date: Wed, 01 Aug 2007 20:05:13 +0300
hi,
I just looked at this coverage report:
http://build.gnome.org:8080/coverage/libxml2/lcov/
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 build.gnome.org
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)_tmp.info
lcov --extract ./coverage/$(PACKAGE)_tmp.info "$(PWD)/src*" -o
./coverage/$(PACKAGE).info
$(RM) ./coverage/$(PACKAGE)_tmp.info
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
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]