[PATCH] Add configure --enable-check-coverage option
Dmitry V. Levin
ldv at altlinux.org
Thu Feb 4 11:42:22 UTC 2016
On Mon, Feb 01, 2016 at 06:15:39PM +0100, Gabriel Laskar wrote:
>
> * configure.ac: enable AX_CODE_COVERAGE
> * Makefile.am: use AX_CODE_COVERAGE
> * m4/ax_code_coverage.m4: support for AX_CODE_COVERAGE
> * .gitignore: now ignore *.gcda and *.gcno files
> ---
Nice, thanks!
Applied with minor adjustments.
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -60,6 +60,11 @@ strace_LDFLAGS =
> strace_LDADD =
> noinst_LIBRARIES =
>
> + at CODE_COVERAGE_RULES@
> +strace_CPPFLAGS += $(CODE_COVERAGE_CPPFLAGS)
> +strace_CFLAGS = $(CODE_COVERAGE_CFLAGS)
> +strace_LDFLAGS += $(CODE_COVERAGE_LDFLAGS)
There were few more places in Makefile.am that needed
coverage related changes.
--
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20160204/5f225229/attachment.bin>
More information about the Strace-devel
mailing list