summaryrefslogtreecommitdiffstats
path: root/src/hooks/dhcp/user_chk
diff options
context:
space:
mode:
authorThomas Markwalder <tmark@isc.org>2013-10-24 14:36:42 +0200
committerThomas Markwalder <tmark@isc.org>2013-10-24 14:36:42 +0200
commit2e283ec70fa4c751835e1afcba65c4554fd78d15 (patch)
tree674452d327536c7099b03f5eb5bdefc0d206e4d5 /src/hooks/dhcp/user_chk
parent[master] Add ChangeLog for #3094 (diff)
downloadkea-2e283ec70fa4c751835e1afcba65c4554fd78d15.tar.xz
kea-2e283ec70fa4c751835e1afcba65c4554fd78d15.zip
[master] Fixed make install failure in user_chk unit tests
Yet another make issue introduced with trac3186. Unit test data files are now looked for in the appropriate directory and copied as part of dist check.
Diffstat (limited to 'src/hooks/dhcp/user_chk')
-rw-r--r--src/hooks/dhcp/user_chk/tests/Makefile.am7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/hooks/dhcp/user_chk/tests/Makefile.am b/src/hooks/dhcp/user_chk/tests/Makefile.am
index 7406c9dcb8..d76f21528f 100644
--- a/src/hooks/dhcp/user_chk/tests/Makefile.am
+++ b/src/hooks/dhcp/user_chk/tests/Makefile.am
@@ -3,7 +3,7 @@ SUBDIRS = .
AM_CPPFLAGS = -I$(top_builddir)/src/lib -I$(top_srcdir)/src/lib
AM_CPPFLAGS += -I$(top_builddir)/src/hooks/dhcp/user_chk -I$(top_srcdir)/src/hooks/dhcp/user_chk
AM_CPPFLAGS += $(BOOST_INCLUDES) $(BOTAN_INCLUDES)
-AM_CPPFLAGS += -DTEST_DATA_BUILDDIR=\"$(abs_top_builddir)/src/hooks/dhcp/user_chk/tests\"
+AM_CPPFLAGS += -DTEST_DATA_BUILDDIR=\"$(abs_top_srcdir)/src/hooks/dhcp/user_chk/tests\"
AM_CPPFLAGS += -DINSTALL_PROG=\"$(abs_top_srcdir)/install-sh\"
AM_CXXFLAGS = $(B10_CXXFLAGS)
@@ -21,7 +21,7 @@ AM_LDFLAGS = -static
endif
# Unit test data files need to get installed.
-EXTRA_DIST = test_users_1.txt test_users_err.txt
+EXTRA_DIST = test_users_1.txt test_users_err.txt
CLEANFILES = *.gcno *.gcda
@@ -71,6 +71,3 @@ libdhcp_user_chk_unittests_LDADD += ${BOTAN_LIBS} ${BOTAN_RPATH}
libdhcp_user_chk_unittests_LDADD += $(GTEST_LDADD)
endif
noinst_PROGRAMS = $(TESTS)
-
-libdhcp_user_chk_unittestsdir = $(abs_top_builddir)/src/hooks/dhcp/user_chk/tests
-libdhcp_user_chk_unittests_DATA = test_users_1.txt test_users_err.txt