Re: [PATCH v2] Add coverage target

2021-01-12 Thread Dmitry V. Levin
On Tue, Jan 12, 2021 at 12:48:17PM +0100, Mark Wielaard wrote: > On Tue, 2021-01-12 at 07:29 +0300, Dmitry V. Levin wrote: > > Implement a target for capturing code coverage using lcov. > > It is available when elfutils is configured using --enable-gcov. > > Very nice. > > > +$(COVERAGE_OUTPUT_IN

Re: [PATCH v2] Add coverage target

2021-01-12 Thread Mark Wielaard
On Tue, 2021-01-12 at 07:29 +0300, Dmitry V. Levin wrote: > Implement a target for capturing code coverage using lcov. > It is available when elfutils is configured using --enable-gcov. Very nice. > +$(COVERAGE_OUTPUT_INDEX_HTML): $(COVERAGE_OUTPUT_FILE) > + LC_ALL=C $(GENHTML) \ > +

[PATCH v2] Add coverage target

2021-01-11 Thread Dmitry V. Levin
Implement a target for capturing code coverage using lcov. It is available when elfutils is configured using --enable-gcov. Tested with autoreconf -if && ./configure --enable-maintainer-mode --enable-gcov && make && make check && make coverage Signed-off-by: Dmitry V. Levin --- .gitignore |