mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-30 21:45:37 +00:00
Enable the cmdctl_test.py unit test.
(It was commented out.) The test was fixed in r1768. That was for ticket #157. Running test: cmdctl_test.py .................. ---------------------------------------------------------------------- Ran 18 tests in 0.027s OK git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1769 e5f2f494-b856-4b98-b285-d166d9295462
This commit is contained in:
@@ -1,14 +1,12 @@
|
||||
PYTESTS = cmdctl_test.py
|
||||
EXTRA_DIST = $(PYTESTS)
|
||||
|
||||
### # exclude for now because it fails
|
||||
###
|
||||
#### later will have configure option to choose this, like: coverage run --branch
|
||||
###PYCOVERAGE = $(PYTHON)
|
||||
#### test using command-line arguments, so use check-local target instead of TESTS
|
||||
###check-local:
|
||||
### for pytest in $(PYTESTS) ; do \
|
||||
### echo Running test: $$pytest ; \
|
||||
### env PYTHONPATH=$(abs_top_srcdir)/src/lib/python:$(abs_top_srcdir)/src/bin/cmdctl \
|
||||
### $(PYCOVERAGE) $(abs_srcdir)/$$pytest ; \
|
||||
### done
|
||||
# later will have configure option to choose this, like: coverage run --branch
|
||||
PYCOVERAGE = $(PYTHON)
|
||||
# test using command-line arguments, so use check-local target instead of TESTS
|
||||
check-local:
|
||||
for pytest in $(PYTESTS) ; do \
|
||||
echo Running test: $$pytest ; \
|
||||
env PYTHONPATH=$(abs_top_srcdir)/src/lib/python:$(abs_top_srcdir)/src/bin/cmdctl \
|
||||
$(PYCOVERAGE) $(abs_srcdir)/$$pytest ; \
|
||||
done
|
||||
|
Reference in New Issue
Block a user