Commit 1e6d378f authored by Jeremy C. Reed's avatar Jeremy C. Reed
Browse files

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
parent 40d65cc1
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
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