mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-29 13:07:50 +00:00
Merge branch 'trac3483'
This commit is contained in:
commit
a08cbbecbd
24
Makefile.am
24
Makefile.am
@ -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:
|
||||||
@ -94,21 +85,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:
|
||||||
|
@ -1645,7 +1645,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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user