BIND 10 master, updated. 2e283ec70fa4c751835e1afcba65c4554fd78d15 [master] Fixed make install failure in user_chk unit tests

BIND 10 source code commits bind10-changes at lists.isc.org
Thu Oct 24 12:38:34 UTC 2013


The branch, master has been updated
       via  2e283ec70fa4c751835e1afcba65c4554fd78d15 (commit)
      from  748d5e585d6c4bcd5bb18498f768ad70f7e3bf0f (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 2e283ec70fa4c751835e1afcba65c4554fd78d15
Author: Thomas Markwalder <tmark at isc.org>
Date:   Thu Oct 24 08:36:42 2013 -0400

    [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.

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

Summary of changes:
 src/hooks/dhcp/user_chk/tests/Makefile.am |    7 ++-----
 1 file 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 7406c9d..d76f215 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



More information about the bind10-changes mailing list