diff --git a/src/bin/cmdctl/tests/Makefile.am b/src/bin/cmdctl/tests/Makefile.am index 7b950d0cb6..c2f09c6cd4 100644 --- a/src/bin/cmdctl/tests/Makefile.am +++ b/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