diff --git a/Makefile.am b/Makefile.am index fc418f5d48..e6eecd9620 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: @@ -94,21 +85,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: diff --git a/configure.ac b/configure.ac index 52ceb76128..15cf32bd99 100644 --- a/configure.ac +++ b/configure.ac @@ -1645,7 +1645,6 @@ Developer: Google Tests: $enable_gtest Valgrind: $found_valgrind C++ Code Coverage: $USE_LCOV - Python Code Coverage: $USE_PYCOVERAGE Logger checks: $enable_logger_checks Generate Documentation: $enable_generate_docs