Commit 66248390 authored by Francis Dupont's avatar Francis Dupont
Browse files

Finishing merge of rt46933 (Kyua)

parents 7932503f e985472a
......@@ -28,7 +28,8 @@ EXTRA_DIST = RELNOTES LICENSE configure.ac+lt config+lt \
doc/devel/arch.dox doc/devel/atf.dox doc/devel/contrib.dox \
doc/devel/debug.dox doc/devel/isc-logo.jpg doc/devel/libtool.dox \
doc/devel/mainpage.dox doc/devel/omapi.dox doc/devel/qa.dox \
common/tests/Atffile server/tests/Atffile
client/tests/Atffile common/tests/Atffile server/tests/Atffile \
client/tests/Kyuafile common/tests/Kyuafile server/tests/Kyuafile
if HAVE_BINDDIR
EXTRA_DIST += bind/Makefile.in bind/bind.tar.gz bind/version.tmp
......
......@@ -301,6 +301,7 @@ RANLIB = @RANLIB@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRIP = @STRIP@
UNITTESTS = @UNITTESTS@
VERSION = @VERSION@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
......@@ -382,7 +383,9 @@ EXTRA_DIST = RELNOTES LICENSE configure.ac+lt config+lt \
doc/devel/atf.dox doc/devel/contrib.dox doc/devel/debug.dox \
doc/devel/isc-logo.jpg doc/devel/libtool.dox \
doc/devel/mainpage.dox doc/devel/omapi.dox doc/devel/qa.dox \
common/tests/Atffile server/tests/Atffile $(am__append_1)
client/tests/Atffile common/tests/Atffile server/tests/Atffile \
client/tests/Kyuafile common/tests/Kyuafile \
server/tests/Kyuafile $(am__append_1)
# Use an autoconf substitution vs an automake conditional here
# to fool automake when the bind directory does not exist.
......
......@@ -306,6 +306,7 @@ RANLIB = @RANLIB@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRIP = @STRIP@
UNITTESTS = @UNITTESTS@
VERSION = @VERSION@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
......
......@@ -5,7 +5,8 @@ AM_CPPFLAGS += -I@BINDDIR@/include -I$(top_srcdir)
AM_CPPFLAGS += -DLOCALSTATEDIR='"."'
AM_CPPFLAGS += -DCLIENT_PATH='"."'
EXTRA_DIST = Atffile duid0_test.txt duid1_test.txt duid2_test.txt duid3_test.txt
EXTRA_DIST = Atffile Kyuafile
EXTRA_DIST += duid0_test.txt duid1_test.txt duid2_test.txt duid3_test.txt
# for autotools debugging only
info:
......@@ -37,6 +38,7 @@ duid_unittests_LDADD += $(DHCPLIBS)
check: $(ATF_TESTS)
@if test $(top_srcdir) != ${top_builddir}; then \
cp $(top_srcdir)/client/tests/Atffile Atffile; \
cp $(top_srcdir)/client/tests/Kyuafile Kyuafile; \
cp $(top_srcdir)/client/tests/duid0_test.txt duid0_test.txt; \
cp $(top_srcdir)/client/tests/duid1_test.txt duid1_test.txt; \
cp $(top_srcdir)/client/tests/duid2_test.txt duid2_test.txt; \
......@@ -46,7 +48,8 @@ check: $(ATF_TESTS)
distclean-local:
@if test $(top_srcdir) != ${top_builddir}; then \
rm -f Atffile duid0_test.txt duid1_test.txt; \
rm -f Atffile Kyuafile; \
rm -f duid0_test.txt duid1_test.txt; \
rm -f duid2_test.txt duid3_test.txt; \
fi
......
......@@ -283,6 +283,7 @@ RANLIB = @RANLIB@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRIP = @STRIP@
UNITTESTS = @UNITTESTS@
VERSION = @VERSION@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
......@@ -341,7 +342,8 @@ SUBDIRS = .
AM_CPPFLAGS = $(ATF_CFLAGS) -DUNIT_TEST -I$(top_srcdir)/includes \
-I@BINDDIR@/include -I$(top_srcdir) -DLOCALSTATEDIR='"."' \
-DCLIENT_PATH='"."'
EXTRA_DIST = Atffile duid0_test.txt duid1_test.txt duid2_test.txt duid3_test.txt
EXTRA_DIST = Atffile Kyuafile duid0_test.txt duid1_test.txt \
duid2_test.txt duid3_test.txt
DHCPSRC = ../clparse.c ../dhc6.c ../dhclient.c
DHCPLIBS = $(top_builddir)/common/libdhcp.@A@ \
$(top_builddir)/omapip/libomapi.@A@ \
......@@ -748,6 +750,7 @@ info:
@HAVE_ATF_TRUE@check: $(ATF_TESTS)
@HAVE_ATF_TRUE@ @if test $(top_srcdir) != ${top_builddir}; then \
@HAVE_ATF_TRUE@ cp $(top_srcdir)/client/tests/Atffile Atffile; \
@HAVE_ATF_TRUE@ cp $(top_srcdir)/client/tests/Kyuafile Kyuafile; \
@HAVE_ATF_TRUE@ cp $(top_srcdir)/client/tests/duid0_test.txt duid0_test.txt; \
@HAVE_ATF_TRUE@ cp $(top_srcdir)/client/tests/duid1_test.txt duid1_test.txt; \
@HAVE_ATF_TRUE@ cp $(top_srcdir)/client/tests/duid2_test.txt duid2_test.txt; \
......@@ -757,7 +760,8 @@ info:
@HAVE_ATF_TRUE@distclean-local:
@HAVE_ATF_TRUE@ @if test $(top_srcdir) != ${top_builddir}; then \
@HAVE_ATF_TRUE@ rm -f Atffile duid0_test.txt duid1_test.txt; \
@HAVE_ATF_TRUE@ rm -f Atffile Kyuafile; \
@HAVE_ATF_TRUE@ rm -f duid0_test.txt duid1_test.txt; \
@HAVE_ATF_TRUE@ rm -f duid2_test.txt duid3_test.txt; \
@HAVE_ATF_TRUE@ fi
......
......@@ -315,6 +315,7 @@ RANLIB = @RANLIB@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRIP = @STRIP@
UNITTESTS = @UNITTESTS@
VERSION = @VERSION@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
......
......@@ -2,7 +2,7 @@ SUBDIRS = .
AM_CPPFLAGS = $(ATF_CFLAGS) -I$(top_srcdir)/includes
EXTRA_DIST = Atffile
EXTRA_DIST = Atffile Kyuafile
ATF_TESTS =
......@@ -45,12 +45,13 @@ ns_name_unittest_LDADD += ../libdhcp.@A@ ../../omapip/libomapi.@A@ \
check: $(ATF_TESTS)
@if test $(top_srcdir) != ${top_builddir}; then \
cp $(top_srcdir)/common/tests/Atffile Atffile; \
cp $(top_srcdir)/common/tests/Kyuafile Kyuafile; \
fi
sh ${top_builddir}/tests/unittest.sh
distclean-local:
@if test $(top_srcdir) != ${top_builddir}; then \
rm -f Atffile; \
rm -f Atffile Kyuafile; \
fi
endif
......
......@@ -306,6 +306,7 @@ RANLIB = @RANLIB@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRIP = @STRIP@
UNITTESTS = @UNITTESTS@
VERSION = @VERSION@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
......@@ -362,7 +363,7 @@ top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
SUBDIRS = .
AM_CPPFLAGS = $(ATF_CFLAGS) -I$(top_srcdir)/includes
EXTRA_DIST = Atffile
EXTRA_DIST = Atffile Kyuafile
ATF_TESTS = $(am__append_1)
@HAVE_ATF_TRUE@alloc_unittest_SOURCES = test_alloc.c $(top_srcdir)/tests/t_api_dhcp.c
@HAVE_ATF_TRUE@alloc_unittest_LDADD = $(ATF_LDFLAGS) ../libdhcp.@A@ \
......@@ -767,12 +768,13 @@ uninstall-am:
@HAVE_ATF_TRUE@check: $(ATF_TESTS)
@HAVE_ATF_TRUE@ @if test $(top_srcdir) != ${top_builddir}; then \
@HAVE_ATF_TRUE@ cp $(top_srcdir)/common/tests/Atffile Atffile; \
@HAVE_ATF_TRUE@ cp $(top_srcdir)/common/tests/Kyuafile Kyuafile; \
@HAVE_ATF_TRUE@ fi
@HAVE_ATF_TRUE@ sh ${top_builddir}/tests/unittest.sh
@HAVE_ATF_TRUE@distclean-local:
@HAVE_ATF_TRUE@ @if test $(top_srcdir) != ${top_builddir}; then \
@HAVE_ATF_TRUE@ rm -f Atffile; \
@HAVE_ATF_TRUE@ rm -f Atffile Kyuafile; \
@HAVE_ATF_TRUE@ fi
# Tell versions [3.59,3.63) of GNU make to not export all variables.
......
......@@ -649,6 +649,7 @@ ac_prefix_program
DISTCHECK_ATF_CONFIGURE_FLAG
HAVE_ATF_FALSE
HAVE_ATF_TRUE
UNITTESTS
pkgcfg_found
ATF_BIN
ATF_LDFLAGS
......@@ -5501,8 +5502,8 @@ if test "$enable_relay_port" = "yes"; then
$as_echo "#define RELAY_PORT 1" >>confdefs.h
else
# so we can report below
enable_relay_port="no"
# so we can report below
enable_relay_port="no"
fi
# PARANOIA is off by default (until we can test it with all features)
......@@ -5693,10 +5694,8 @@ fi
ATF_BIN=$atf_path/bin
fi
if test ! -x $ATF_BIN/atf-run -o ! -x $ATF_BIN/atf-report ; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: atf-run/atf-report not found, assuming they are in your path" >&5
$as_echo "$as_me: WARNING: atf-run/atf-report not found, assuming they are in your path" >&2;}
fi
UNITTESTS=tests
......
......@@ -185,8 +185,8 @@ if test "$enable_relay_port" = "yes"; then
AC_DEFINE([RELAY_PORT], [1],
[Define to 1 to include relay port support.])
else
# so we can report below
enable_relay_port="no"
# so we can report below
enable_relay_port="no"
fi
# PARANOIA is off by default (until we can test it with all features)
......@@ -307,13 +307,12 @@ elif test "$atf_path" != "no" ; then
ATF_BIN=$atf_path/bin
fi
if test ! -x $ATF_BIN/atf-run -o ! -x $ATF_BIN/atf-report ; then
AC_MSG_WARN([atf-run/atf-report not found, assuming they are in your path])
fi
UNITTESTS=tests
AC_SUBST(ATF_CFLAGS)
AC_SUBST(ATF_LDFLAGS)
AC_SUBST(ATF_BIN)
AC_SUBST(UNITTESTS)
fi
fi
......
......@@ -186,8 +186,8 @@ if test "$enable_relay_port" = "yes"; then
AC_DEFINE([RELAY_PORT], [1],
[Define to 1 to include relay port support.])
else
# so we can report below
enable_relay_port="no"
# so we can report below
enable_relay_port="no"
fi
# PARANOIA is off by default (until we can test it with all features)
......@@ -308,13 +308,12 @@ elif test "$atf_path" != "no" ; then
ATF_BIN=$atf_path/bin
fi
if test ! -x $ATF_BIN/atf-run -o ! -x $ATF_BIN/atf-report ; then
AC_MSG_WARN([atf-run/atf-report not found, assuming they are in your path])
fi
UNITTESTS=tests
AC_SUBST(ATF_CFLAGS)
AC_SUBST(ATF_LDFLAGS)
AC_SUBST(ATF_BIN)
AC_SUBST(UNITTESTS)
fi
fi
......
......@@ -191,8 +191,8 @@ if test "$enable_relay_port" = "yes"; then
AC_DEFINE([RELAY_PORT], [1],
[Define to 1 to include relay port support.])
else
# so we can report below
enable_relay_port="no"
# so we can report below
enable_relay_port="no"
fi
# PARANOIA is off by default (until we can test it with all features)
......@@ -313,13 +313,12 @@ elif test "$atf_path" != "no" ; then
ATF_BIN=$atf_path/bin
fi
if test ! -x $ATF_BIN/atf-run -o ! -x $ATF_BIN/atf-report ; then
AC_MSG_WARN([atf-run/atf-report not found, assuming they are in your path])
fi
UNITTESTS=tests
AC_SUBST(ATF_CFLAGS)
AC_SUBST(ATF_LDFLAGS)
AC_SUBST(ATF_BIN)
AC_SUBST(UNITTESTS)
fi
fi
......
......@@ -185,8 +185,8 @@ if test "$enable_relay_port" = "yes"; then
AC_DEFINE([RELAY_PORT], [1],
[Define to 1 to include relay port support.])
else
# so we can report below
enable_relay_port="no"
# so we can report below
enable_relay_port="no"
fi
# PARANOIA is off by default (until we can test it with all features)
......@@ -307,13 +307,12 @@ elif test "$atf_path" != "no" ; then
ATF_BIN=$atf_path/bin
fi
if test ! -x $ATF_BIN/atf-run -o ! -x $ATF_BIN/atf-report ; then
AC_MSG_WARN([atf-run/atf-report not found, assuming they are in your path])
fi
UNITTESTS=tests
AC_SUBST(ATF_CFLAGS)
AC_SUBST(ATF_LDFLAGS)
AC_SUBST(ATF_BIN)
AC_SUBST(UNITTESTS)
fi
fi
......
......@@ -284,6 +284,7 @@ RANLIB = @RANLIB@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRIP = @STRIP@
UNITTESTS = @UNITTESTS@
VERSION = @VERSION@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
......
......@@ -237,6 +237,7 @@ RANLIB = @RANLIB@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRIP = @STRIP@
UNITTESTS = @UNITTESTS@
VERSION = @VERSION@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
......
......@@ -279,6 +279,7 @@ RANLIB = @RANLIB@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRIP = @STRIP@
UNITTESTS = @UNITTESTS@
VERSION = @VERSION@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
......
......@@ -258,6 +258,7 @@ RANLIB = @RANLIB@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRIP = @STRIP@
UNITTESTS = @UNITTESTS@
VERSION = @VERSION@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
......
......@@ -324,6 +324,7 @@ RANLIB = @RANLIB@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRIP = @STRIP@
UNITTESTS = @UNITTESTS@
VERSION = @VERSION@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
......
......@@ -4,7 +4,7 @@ AM_CPPFLAGS = $(ATF_CFLAGS) -DUNIT_TEST -I$(top_srcdir)/includes
AM_CPPFLAGS += -I@BINDDIR@/include -I$(top_srcdir)
AM_CPPFLAGS += -DLOCALSTATEDIR='"."'
EXTRA_DIST = Atffile
EXTRA_DIST = Atffile Kyuafile
# for autotools debugging only
info:
......@@ -54,12 +54,13 @@ leaseq_unittests_LDADD = $(DHCPLIBS) $(ATF_LDFLAGS)
check: $(ATF_TESTS)
@if test $(top_srcdir) != ${top_builddir}; then \
cp $(top_srcdir)/server/tests/Atffile Atffile; \
cp $(top_srcdir)/server/tests/Kyuafile Kyuafile; \
fi
sh ${top_builddir}/tests/unittest.sh
distclean-local:
@if test $(top_srcdir) != ${top_builddir}; then \
rm -f Atffile; \
rm -f Atffile Kyuafile; \
fi
endif
......
......@@ -340,6 +340,7 @@ RANLIB = @RANLIB@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRIP = @STRIP@
UNITTESTS = @UNITTESTS@
VERSION = @VERSION@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
......@@ -397,7 +398,7 @@ top_srcdir = @top_srcdir@
SUBDIRS = .
AM_CPPFLAGS = $(ATF_CFLAGS) -DUNIT_TEST -I$(top_srcdir)/includes \
-I@BINDDIR@/include -I$(top_srcdir) -DLOCALSTATEDIR='"."'
EXTRA_DIST = Atffile
EXTRA_DIST = Atffile Kyuafile
DHCPSRC = ../dhcp.c ../bootp.c ../confpars.c ../db.c ../class.c \
../failover.c ../omapi.c ../mdb.c ../stables.c ../salloc.c \
../ddns.c ../dhcpleasequery.c ../dhcpv6.c ../mdb6.c \
......@@ -1064,12 +1065,13 @@ info:
@HAVE_ATF_TRUE@check: $(ATF_TESTS)
@HAVE_ATF_TRUE@ @if test $(top_srcdir) != ${top_builddir}; then \
@HAVE_ATF_TRUE@ cp $(top_srcdir)/server/tests/Atffile Atffile; \
@HAVE_ATF_TRUE@ cp $(top_srcdir)/server/tests/Kyuafile Kyuafile; \
@HAVE_ATF_TRUE@ fi
@HAVE_ATF_TRUE@ sh ${top_builddir}/tests/unittest.sh
@HAVE_ATF_TRUE@distclean-local:
@HAVE_ATF_TRUE@ @if test $(top_srcdir) != ${top_builddir}; then \
@HAVE_ATF_TRUE@ rm -f Atffile; \
@HAVE_ATF_TRUE@ rm -f Atffile Kyuafile; \
@HAVE_ATF_TRUE@ fi
# Tell versions [3.59,3.63) of GNU make to not export all variables.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment