BIND 10 master, updated. 1cd2de193c2e6b350caa9b643c568c2a5ac55304 [master] workaround for test failure using a deeper build dir: use a relative path for the test unix domain socket.

BIND 10 source code commits bind10-changes at lists.isc.org
Thu Dec 22 18:33:43 UTC 2011


The branch, master has been updated
       via  1cd2de193c2e6b350caa9b643c568c2a5ac55304 (commit)
      from  90f4e987cf3477a8ecc361399e268175be3a5ce8 (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 1cd2de193c2e6b350caa9b643c568c2a5ac55304
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Thu Dec 22 10:32:52 2011 -0800

    [master] workaround for test failure using a deeper build dir: use a relative
    path for the test unix domain socket.

-----------------------------------------------------------------------

Summary of changes:
 src/lib/python/isc/util/io/tests/Makefile.am |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/python/isc/util/io/tests/Makefile.am b/src/lib/python/isc/util/io/tests/Makefile.am
index 95eba05..3429009 100644
--- a/src/lib/python/isc/util/io/tests/Makefile.am
+++ b/src/lib/python/isc/util/io/tests/Makefile.am
@@ -16,18 +16,19 @@ if ENABLE_PYTHON_COVERAGE
 	rm -f .coverage
 	${LN_S} $(abs_top_srcdir)/.coverage .coverage
 endif
-# XXX: we pollute the top builddir for creating a temporary test file
-# so we can minimize the risk of exceeding the limit of file name path size
-# for a UNIX domain socket.
+# Note: below we intentionally use a non absolute path for TESTDATAOBJDIR.
+# It will be used as part of the path for a UNIX domain socket.  Due to the
+# relatively lower limit on the length it's better to keep it as short as
+# possible.
 	for pytest in $(PYTESTS) ; do \
 	echo Running test: $$pytest ; \
 	PYTHONPATH=$(COMMON_PYTHON_PATH):$(abs_top_builddir)/src/lib/isc/python/util/io/.libs \
 	$(LIBRARY_PATH_PLACEHOLDER) \
-	TESTDATAOBJDIR=$(abs_top_builddir) \
+	TESTDATAOBJDIR=$(builddir) \
 	$(PYCOVERAGE_RUN) $(abs_srcdir)/$$pytest || exit ; \
 	done
 
-CLEANFILES = $(abs_top_builddir)/ssessiontest.unix
+CLEANFILES = $(builddir)/ssessiontest.unix
 
 CLEANDIRS = __pycache__
 




More information about the bind10-changes mailing list