mirror of
https://frontier.innolan.net/rainlance/c-ares.git
synced 2025-11-21 23:32:17 +00:00
build: Add a code coverage option
Configure with: ./configure --enable-code-coverage Show coverage output with: make code-coverage-capture Built on m4/ax_code_coverage.m4 from the GNU autoconf archive to provide the macros to check for presence of gcov + lcov; upstream macro modified to: - Remove use of $(AM_DEFAULT_VERBOSITY) , as earlier versions of autoconf (such as the one used by default on Travis) do not have this. - Rather than automatically defining CODE_COVERAGE_RULES to be a set of makefile rules that use ifeq/endif (which is GNU make-specific), instead only define CODE_COVERAGE_RULES if coverages is turned on, and in that case don't use conditionals in the makefile.
This commit is contained in:
6
.gitignore
vendored
6
.gitignore
vendored
@ -24,12 +24,18 @@ ltmain.sh
|
||||
compile
|
||||
libcares.pc
|
||||
missing
|
||||
test-driver
|
||||
c-ares-*.tar.gz
|
||||
INSTALL
|
||||
install-sh
|
||||
*.o
|
||||
*.lo
|
||||
*.la
|
||||
*.gcno
|
||||
*.gcda
|
||||
*.gcov
|
||||
c-ares---coverage.info
|
||||
c-ares---coverage
|
||||
mkinstalldirs
|
||||
tags
|
||||
TAGS
|
||||
|
||||
Reference in New Issue
Block a user