[svn] commit: r3212 - in /trunk/src: bin/auth/tests/Makefile.am lib/dns/tests/Makefile.am
BIND 10 source code commits
bind10-changes at lists.isc.org
Fri Oct 15 03:13:25 UTC 2010
Author: jinmei
Date: Fri Oct 15 03:13:25 2010
New Revision: 3212
Log:
use absolte path to testdata for the TEST_DATA_BUILDDIR variable.
this will help run tests on a different directory than ".../tests".
should be quite trivial, so skipping review.
Modified:
trunk/src/bin/auth/tests/Makefile.am
trunk/src/lib/dns/tests/Makefile.am
Modified: trunk/src/bin/auth/tests/Makefile.am
==============================================================================
--- trunk/src/bin/auth/tests/Makefile.am (original)
+++ trunk/src/bin/auth/tests/Makefile.am Fri Oct 15 03:13:25 2010
@@ -4,7 +4,7 @@
AM_CPPFLAGS += -I$(top_builddir)/src/lib/dns -I$(top_srcdir)/src/bin
AM_CPPFLAGS += -I$(top_builddir)/src/lib/cc
AM_CPPFLAGS += -DTEST_DATA_DIR=\"$(srcdir)/testdata\"
-AM_CPPFLAGS += -DTEST_DATA_BUILDDIR=\"$(top_builddir)/src/bin/auth/tests/testdata\"
+AM_CPPFLAGS += -DTEST_DATA_BUILDDIR=\"$(abs_top_builddir)/src/bin/auth/tests/testdata\"
AM_CXXFLAGS = $(B10_CXXFLAGS)
Modified: trunk/src/lib/dns/tests/Makefile.am
==============================================================================
--- trunk/src/lib/dns/tests/Makefile.am (original)
+++ trunk/src/lib/dns/tests/Makefile.am Fri Oct 15 03:13:25 2010
@@ -3,7 +3,7 @@
AM_CPPFLAGS = -I$(top_builddir)/src/lib -I$(top_srcdir)/src/lib
AM_CPPFLAGS += -I$(top_srcdir)/src/lib/dns -I$(top_builddir)/src/lib/dns
AM_CPPFLAGS += -DTEST_DATA_SRCDIR=\"$(srcdir)/testdata\"
-AM_CPPFLAGS += -DTEST_DATA_BUILDDIR=\"$(top_builddir)/src/lib/dns/tests/testdata\"
+AM_CPPFLAGS += -DTEST_DATA_BUILDDIR=\"$(abs_top_builddir)/src/lib/dns/tests/testdata\"
AM_CXXFLAGS = $(B10_CXXFLAGS)
if USE_STATIC_LINK
More information about the bind10-changes
mailing list