|
@@ -1,4 +1,4 @@
|
|
-PYTESTS = kea-shell_unittest.py
|
|
|
|
|
|
+PYTESTS = shell_unittest.py
|
|
|
|
|
|
SHTESTS = shell_process_tests.sh
|
|
SHTESTS = shell_process_tests.sh
|
|
|
|
|
|
@@ -6,16 +6,16 @@ noinst_SCRIPTS = $(PYTESTS) shell_process_tests.sh
|
|
EXTRA_DIST = testdata/plugins/testplugin.py
|
|
EXTRA_DIST = testdata/plugins/testplugin.py
|
|
|
|
|
|
# test using command-line arguments, so use check-local target instead of TESTS
|
|
# test using command-line arguments, so use check-local target instead of TESTS
|
|
-check-local: check-local-shell check-local-python
|
|
|
|
|
|
+check-local: check-shell check-python
|
|
|
|
|
|
-check-local-python:
|
|
|
|
|
|
+check-python:
|
|
@for pytest in $(PYTESTS) ; do \
|
|
@for pytest in $(PYTESTS) ; do \
|
|
echo Running python test: $$pytest ; \
|
|
echo Running python test: $$pytest ; \
|
|
chmod +x $(abs_builddir)/$$pytest ; \
|
|
chmod +x $(abs_builddir)/$$pytest ; \
|
|
PYTHONPATH=$(PYTHONPATH):$(abs_top_builddir)/src/bin/shell python $(abs_builddir)/$$pytest || exit ; \
|
|
PYTHONPATH=$(PYTHONPATH):$(abs_top_builddir)/src/bin/shell python $(abs_builddir)/$$pytest || exit ; \
|
|
done
|
|
done
|
|
|
|
|
|
-check-local-shell:
|
|
|
|
|
|
+check-shell:
|
|
@for shtest in $(SHTESTS) ; do \
|
|
@for shtest in $(SHTESTS) ; do \
|
|
echo Running shell test: $$shtest ; \
|
|
echo Running shell test: $$shtest ; \
|
|
export KEA_LOCKFILE_DIR=$(abs_top_builddir); \
|
|
export KEA_LOCKFILE_DIR=$(abs_top_builddir); \
|