From 002841da1c383dd573f37088ecc011ee032b05c6 Mon Sep 17 00:00:00 2001 From: "Jeremy C. Reed" Date: Wed, 24 Dec 2014 08:09:00 -0800 Subject: [trac3483] remove rest of the python code coverage Remove the clean-python-coverage and report-python-coverage make targets. Remove the configure report output at end about Python code coverage. The pycoverage support was removed six months ago. --- Makefile.am | 24 +++--------------------- 1 file changed, 3 insertions(+), 21 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index f580336779..1b4149f571 100644 --- a/Makefile.am +++ b/Makefile.am @@ -49,15 +49,6 @@ clean-cpp-coverage: echo "Use: ./configure --with-lcov" ; \ fi -clean-python-coverage: - @if [ $(USE_PYCOVERAGE) = yes ] ; then \ - rm -f $(abs_top_srcdir)/.coverage ; \ - rm -rf $(abs_top_srcdir)/py-coverage-html ; \ - else \ - echo "Python code coverage not enabled at configuration time." ; \ - echo "Use: ./configure --with-pycoverage" ; \ - fi - perform-coverage: check report-cpp-coverage: @@ -95,21 +86,12 @@ endif echo "Use: ./configure --with-lcov" ; \ fi -report-python-coverage: - @if [ $(USE_PYCOVERAGE) = yes ] ; then \ - $(PYCOVERAGE) html -d $(abs_top_builddir)/coverage-python-html --omit=src/bin/bind10/tests/,src/bin/bindctl/tests/,src/bin/cfgmgr/tests/,src/bin/cmdctl/tests/,src/bin/loadzone/tests/,src/bin/msgq/tests/,src/bin/stats/tests/,src/bin/tests/,src/bin/xfrin/tests/,src/bin/xfrout/tests/,src/bin/zonemgr/tests/,src/lib/dns/python/tests/,src/lib/dns/tests/,src/lib/python/isc/cc/tests/,src/lib/python/isc/config/tests/,src/lib/python/isc/datasrc/tests/,src/lib/python/isc/log/tests/,src/lib/python/isc/net/tests/,src/lib/python/isc/notify/tests/,src/lib/python/isc/util/tests/ ; \ - echo "Generated Python Code Coverage report in HTML at $(abs_top_builddir)/coverage-python-html" ; \ - else \ - echo "Python code coverage not enabled at configuration time." ; \ - echo "Use: ./configure --with-pycoverage" ; \ - fi - -# for python and c++ test coverage +# for c++ test coverage coverage: clean-coverage perform-coverage report-coverage -clean-coverage: clean-cpp-coverage clean-python-coverage +clean-coverage: clean-cpp-coverage -report-coverage: report-cpp-coverage report-python-coverage +report-coverage: report-cpp-coverage # for static C++ check using cppcheck (when available) cppcheck: -- cgit v1.2.3