[svn] commit: r1769 - /trunk/src/bin/cmdctl/tests/Makefile.am
BIND 10 source code commits
bind10-changes at lists.isc.org
Wed Apr 21 03:08:36 UTC 2010
Author: jreed
Date: Wed Apr 21 03:08:36 2010
New Revision: 1769
Log:
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
Modified:
trunk/src/bin/cmdctl/tests/Makefile.am
Modified: trunk/src/bin/cmdctl/tests/Makefile.am
==============================================================================
--- trunk/src/bin/cmdctl/tests/Makefile.am (original)
+++ trunk/src/bin/cmdctl/tests/Makefile.am Wed Apr 21 03:08:36 2010
@@ -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
More information about the bind10-changes
mailing list