diff options
Diffstat (limited to 'src/bin/xfrin/tests/Makefile.am')
-rw-r--r-- | src/bin/xfrin/tests/Makefile.am | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/src/bin/xfrin/tests/Makefile.am b/src/bin/xfrin/tests/Makefile.am deleted file mode 100644 index 66a13f3265..0000000000 --- a/src/bin/xfrin/tests/Makefile.am +++ /dev/null @@ -1,33 +0,0 @@ -SUBDIRS = testdata . - -PYCOVERAGE_RUN=@PYCOVERAGE_RUN@ -PYTESTS = xfrin_test.py -EXTRA_DIST = $(PYTESTS) - -# If necessary (rare cases), explicitly specify paths to dynamic libraries -# required by loadable python modules. -LIBRARY_PATH_PLACEHOLDER = -if SET_ENV_LIBRARY_PATH -LIBRARY_PATH_PLACEHOLDER += $(ENV_LIBRARY_PATH)=$(abs_top_builddir)/src/lib/cryptolink/.libs:$(abs_top_builddir)/src/lib/dns/.libs:$(abs_top_builddir)/src/lib/dns/python/.libs:$(abs_top_builddir)/src/lib/cc/.libs:$(abs_top_builddir)/src/lib/config/.libs:$(abs_top_builddir)/src/lib/log/.libs:$(abs_top_builddir)/src/lib/util/.libs:$(abs_top_builddir)/src/lib/util/threads/.libs:$(abs_top_builddir)/src/lib/exceptions/.libs:$(abs_top_builddir)/src/lib/util/io/.libs:$(abs_top_builddir)/src/lib/datasrc/.libs:$$$(ENV_LIBRARY_PATH) -else -# Some systems need the ds path even if not all paths are necessary -LIBRARY_PATH_PLACEHOLDER += $(ENV_LIBRARY_PATH)=$(abs_top_builddir)/src/lib/datasrc/.libs -endif - -# test using command-line arguments, so use check-local target instead of TESTS -check-local: -if ENABLE_PYTHON_COVERAGE - touch $(abs_top_srcdir)/.coverage - rm -f .coverage - ${LN_S} $(abs_top_srcdir)/.coverage .coverage -endif - for pytest in $(PYTESTS) ; do \ - echo Running test: $$pytest ; \ - $(LIBRARY_PATH_PLACEHOLDER) \ - PYTHONPATH=$(abs_top_builddir)/src/lib/dns/python/.libs:$(abs_top_builddir)/src/bin/xfrin:$(COMMON_PYTHON_PATH) \ - TESTDATASRCDIR=$(abs_top_srcdir)/src/bin/xfrin/tests/testdata/ \ - TESTDATAOBJDIR=$(abs_top_builddir)/src/bin/xfrin/tests/testdata/ \ - B10_FROM_BUILD=$(abs_top_builddir) \ - B10_FROM_SOURCE=$(abs_top_srcdir) \ - $(PYCOVERAGE_RUN) $(abs_srcdir)/$$pytest || exit ; \ - done |