Browse Source

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

Jeremy C. Reed 15 years ago
parent
commit
1e6d378fb0
1 changed files with 9 additions and 11 deletions
  1. 9 11
      src/bin/cmdctl/tests/Makefile.am

+ 9 - 11
src/bin/cmdctl/tests/Makefile.am

@@ -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