mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 06:15:47 +00:00
tests: Add code coverage for Python.
Adds support for Ned Batchelder's code coverage tool to the test suite. http://nedbatchelder.com/code/coverage/ Signed-off-by: Ethan Jackson <ethan@nicira.com>
This commit is contained in:
@@ -30,7 +30,9 @@ ovs_pyfiles = \
|
||||
python/ovs/timeval.py \
|
||||
python/ovs/vlog.py \
|
||||
python/ovs/util.py
|
||||
EXTRA_DIST += $(ovs_pyfiles) python/ovs/dirs.py $(ovstest_pyfiles)
|
||||
PYFILES = $(ovs_pyfiles) python/ovs/dirs.py $(ovstest_pyfiles)
|
||||
EXTRA_DIST += $(PYFILES)
|
||||
PYCOV_CLEAN_FILES += $(PYFILES:.py=.py,cover)
|
||||
|
||||
if HAVE_PYTHON
|
||||
nobase_pkgdata_DATA = $(ovs_pyfiles) $(ovstest_pyfiles)
|
||||
|
Reference in New Issue
Block a user