Commit 002841da authored by Jeremy C. Reed's avatar Jeremy C. Reed

[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.
parent f9b3981d
...@@ -49,15 +49,6 @@ clean-cpp-coverage: ...@@ -49,15 +49,6 @@ clean-cpp-coverage:
echo "Use: ./configure --with-lcov" ; \ echo "Use: ./configure --with-lcov" ; \
fi 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 perform-coverage: check
report-cpp-coverage: report-cpp-coverage:
...@@ -95,21 +86,12 @@ endif ...@@ -95,21 +86,12 @@ endif
echo "Use: ./configure --with-lcov" ; \ echo "Use: ./configure --with-lcov" ; \
fi fi
report-python-coverage: # for c++ test 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
coverage: clean-coverage perform-coverage report-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) # for static C++ check using cppcheck (when available)
cppcheck: cppcheck:
......
...@@ -1617,7 +1617,6 @@ Developer: ...@@ -1617,7 +1617,6 @@ Developer:
Google Tests: $enable_gtest Google Tests: $enable_gtest
Valgrind: $found_valgrind Valgrind: $found_valgrind
C++ Code Coverage: $USE_LCOV C++ Code Coverage: $USE_LCOV
Python Code Coverage: $USE_PYCOVERAGE
Logger checks: $enable_logger_checks Logger checks: $enable_logger_checks
Generate Documentation: $enable_generate_docs Generate Documentation: $enable_generate_docs
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment