mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-31 14:05:33 +00:00
[master] (ab)use the top_builddir to create a temporary UNIX domain file
as a (quick hack) workaround for distcheck failure on a buildbot (running at a deeper directory). okayed on jabber.
This commit is contained in:
@@ -3,6 +3,10 @@ SUBDIRS = .
|
||||
AM_CPPFLAGS = -I$(top_builddir)/src/lib -I$(top_srcdir)/src/lib
|
||||
AM_CPPFLAGS += $(BOOST_INCLUDES)
|
||||
AM_CPPFLAGS += -DTEST_DATA_BUILDDIR=\"$(abs_builddir)\"
|
||||
# XXX: we'll pollute the top builddir for creating a temporary test file
|
||||
# used to bind a UNIX domain socket so we can minimize the risk of exceeding
|
||||
# the limit of file name path size.
|
||||
AM_CPPFLAGS += -DTEST_DATA_TOPBUILDDIR=\"$(abs_top_builddir)\"
|
||||
AM_CXXFLAGS = $(B10_CXXFLAGS)
|
||||
|
||||
if USE_STATIC_LINK
|
||||
|
@@ -50,7 +50,7 @@ using namespace isc::util::io::internal;
|
||||
|
||||
namespace {
|
||||
|
||||
const char* const TEST_UNIX_FILE = TEST_DATA_BUILDDIR "/test.unix";
|
||||
const char* const TEST_UNIX_FILE = TEST_DATA_TOPBUILDDIR "/test.unix";
|
||||
const char* const TEST_PORT = "53535";
|
||||
const char TEST_DATA[] = "BIND10 test";
|
||||
|
||||
|
Reference in New Issue
Block a user