Re: [Qemu-devel] [PATCH] tests: add gcov target

2012-05-01 Thread Blue Swirl
On Tue, May 1, 2012 at 18:49, Blue Swirl wrote: > Add support for compiling for GCOV test coverage, enabled > with '--enable-gcov' during configure. > > After tests, test coverage can be reported with 'make gcov'. This is how it looks like: File '/src/qemu/qjson.c' Lines executed:86.52% of 141 F

[Qemu-devel] [PATCH] tests: add gcov target

2012-05-01 Thread Blue Swirl
Add support for compiling for GCOV test coverage, enabled with '--enable-gcov' during configure. After tests, test coverage can be reported with 'make gcov'. Add LDFLAGS (which may include GCOV flags) to libcacard Makefile to avoid a build breakage. Signed-off-by: Blue Swirl --- configure