bug-gnulib
[Top][All Lists]
Advanced

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

Re: Generating code coverage reports


From: Ludovic Courtès
Subject: Re: Generating code coverage reports
Date: Mon, 03 Nov 2008 12:05:44 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (gnu/linux)

Hi Simon,

Simon Josefsson <address@hidden> writes:

> +COVERAGE_CCOPTS ?= "-g -fprofile-arcs -ftest-coverage"

Looks to me that `--coverage' is more appropriate as it adds all `-f'
options that are needed, so it's potentially more "future-proof".

Also, LDFLAGS must be modified to do either `-lgcov' or, again,
`--coverage'.

Thanks,
Ludo'.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]