summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am24
1 files changed, 3 insertions, 21 deletions
diff --git a/Makefile.am b/Makefile.am
index fc4a7f8f9a..dd29bf3242 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -53,15 +53,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:
@@ -97,21 +88,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: