From 89f5a089f33f959565be8dde0218e6b379a8da7e Mon Sep 17 00:00:00 2001 From: Jacob Hageman Date: Wed, 24 Mar 2021 14:06:17 -0400 Subject: [PATCH] Fix #1259, Add branch coverage option to genhtml --- cmake/Makefile.sample | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/Makefile.sample b/cmake/Makefile.sample index c1466e7d3..db232e35c 100644 --- a/cmake/Makefile.sample +++ b/cmake/Makefile.sample @@ -141,7 +141,7 @@ test: lcov: lcov --capture --rc lcov_branch_coverage=1 --directory $(O)/$(ARCH) --output-file $(O)/$(ARCH)/coverage_test.info lcov --rc lcov_branch_coverage=1 --add-tracefile $(O)/$(ARCH)/coverage_base.info --add-tracefile $(O)/$(ARCH)/coverage_test.info --output-file $(O)/$(ARCH)/coverage_total.info - genhtml $(O)/$(ARCH)/coverage_total.info --output-directory $(O)/$(ARCH)/lcov + genhtml $(O)/$(ARCH)/coverage_total.info --branch-coverage --output-directory $(O)/$(ARCH)/lcov @/bin/echo -e "\n\nCoverage Report Link: file:$(CURDIR)/$(O)/$(ARCH)/lcov/index.html\n" doc: