]> git.proxmox.com Git - mirror_zfs.git/commit
Add support for "--enable-code-coverage" option
authorPrakash Surya <prakash.surya@delphix.com>
Sat, 23 Sep 2017 01:49:57 +0000 (18:49 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Sat, 23 Sep 2017 01:49:57 +0000 (18:49 -0700)
commitacf044420b134b022da5c866b19df69934ad3778
tree0990c6731f83d04700411617c9d60038b7ab8b80
parentd410c6d9fd4db812a1009e1603c89f1e222e1875
Add support for "--enable-code-coverage" option

This change adds support for a new option that can be passed to the
configure script: "--enable-code-coverage". Further, the "--enable-gcov"
option has been removed, as this new option provides the same
functionality (plus more).

When using this new option the following make targets are available:

 * check-code-coverage
 * code-coverage-capture
 * code-coverage-clean

Note: these make targets can only be run from the root of the project.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Prakash Surya <prakash.surya@delphix.com>
Closes #6670
Makefile.am
config/Rules.am
config/ax_code_coverage.m4 [new file with mode: 0644]
config/zfs-build.m4
configure.ac