]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Add call to chutney to coverage-html-full target
authorSebastian Hahn <sebastian@torproject.org>
Sun, 22 Mar 2015 03:22:04 +0000 (04:22 +0100)
committerSebastian Hahn <sebastian@torproject.org>
Sun, 22 Mar 2015 08:43:46 +0000 (09:43 +0100)
Now make coverage-html-full should be a pretty good approximation of our
actual coverage

Makefile.am

index df893ff00e478d40510f983f091f735d9f3b2a0e..316086c1e107f2aa5a03c2a3d01edd29a15b7b65 100644 (file)
@@ -115,6 +115,8 @@ coverage-html-full: all
        $(MAKE) reset-gcov
        $(MAKE) check
        $(MAKE) test-stem-full
+       CHUTNEY_TOR=tor-cov CHUTNEY_TOR_GENCERT=tor-cov-gencert $(top_srcdir)/src/test/test-network.sh
+       CHUTNEY_TOR=tor-cov CHUTNEY_TOR_GENCERT=tor-cov-gencert $(top_srcdir)/src/test/test-network.sh --flavor hs
        lcov --capture --rc lcov_branch_coverage=1 --no-external --directory . --output-file "$(HTML_COVER_DIR)/lcov.tmp"
        lcov --remove "$(HTML_COVER_DIR)/lcov.tmp" --rc lcov_branch_coverage=1 'test/*' 'ext/tinytest*' '/usr/*' --output-file "$(HTML_COVER_DIR)/lcov.info"
        genhtml --branch-coverage -o "$(HTML_COVER_DIR)" "$(HTML_COVER_DIR)/lcov.info"