BIND 10 trac2380, updated. 2c49df942a07bdcdf335a5794e779a1fc0f870c5 [2380] define B10_FROM_BUILD for loadzone test; need it for loading .so.
BIND 10 source code commits
bind10-changes at lists.isc.org
Tue Dec 18 06:19:55 UTC 2012
The branch, trac2380 has been updated
via 2c49df942a07bdcdf335a5794e779a1fc0f870c5 (commit)
from 663bd7310eadfe3164d7504c1eceef716eb1086d (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 2c49df942a07bdcdf335a5794e779a1fc0f870c5
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Mon Dec 17 22:19:02 2012 -0800
[2380] define B10_FROM_BUILD for loadzone test; need it for loading .so.
also left comments on this for this test and python datasrc test
for reference for others
-----------------------------------------------------------------------
Summary of changes:
src/bin/loadzone/tests/Makefile.am | 2 ++
src/lib/python/isc/datasrc/tests/Makefile.am | 1 +
2 files changed, 3 insertions(+)
-----------------------------------------------------------------------
diff --git a/src/bin/loadzone/tests/Makefile.am b/src/bin/loadzone/tests/Makefile.am
index 1918bb5..19a8a88 100644
--- a/src/bin/loadzone/tests/Makefile.am
+++ b/src/bin/loadzone/tests/Makefile.am
@@ -15,6 +15,7 @@ LIBRARY_PATH_PLACEHOLDER += $(ENV_LIBRARY_PATH)=$(abs_top_builddir)/src/lib/cryp
endif
# test using command-line arguments, so use check-local target instead of TESTS
+# We need to define B10_FROM_BUILD for datasrc loadable modules
check-local:
if ENABLE_PYTHON_COVERAGE
touch $(abs_top_srcdir)/.coverage
@@ -24,6 +25,7 @@ endif
for pytest in $(PYTESTS) ; do \
echo Running test: $$pytest ; \
B10_FROM_SOURCE=$(abs_top_srcdir) \
+ B10_FROM_BUILD=$(abs_top_builddir) \
$(LIBRARY_PATH_PLACEHOLDER) \
TESTDATA_PATH=$(abs_top_srcdir)/src/lib/testutils/testdata \
LOCAL_TESTDATA_PATH=$(srcdir)/testdata \
diff --git a/src/lib/python/isc/datasrc/tests/Makefile.am b/src/lib/python/isc/datasrc/tests/Makefile.am
index 102f104..d4a562c 100644
--- a/src/lib/python/isc/datasrc/tests/Makefile.am
+++ b/src/lib/python/isc/datasrc/tests/Makefile.am
@@ -28,6 +28,7 @@ LIBRARY_PATH_PLACEHOLDER += $(ENV_LIBRARY_PATH)=$(abs_top_builddir)/src/lib/data
endif
# test using command-line arguments, so use check-local target instead of TESTS
+# We need to define B10_FROM_BUILD for datasrc loadable modules
check-local:
if ENABLE_PYTHON_COVERAGE
touch $(abs_top_srcdir)/.coverage
More information about the bind10-changes
mailing list