generated into builddir. If out-of-tree build is used, make unit
will always fail. Kyuafiles and testdata still have to be copied
manually into the builddir.
(cherry picked from commit
95cde3608aab9e1e4025d5a73fa2c602b3082ea1)
srcdir = @srcdir@
VPATH = @srcdir@
top_srcdir = @top_srcdir@
+top_builddir = @top_builddir@
VERSION=@BIND9_VERSION@
test-force:
status=0; \
(cd bin/tests && ${MAKE} ${MAKEDEFS} test) || status=1; \
- (test -f unit/unittest.sh && $(SHELL) unit/unittest.sh) || status=1; \
+ (test -f ${top_builddir}/unit/unittest.sh && \
+ $(SHELL) ${top_builddir}/unit/unittest.sh) || status=1; \
exit $$status
README: README.md
${W3M} -dump -cols 75 -O ascii -T text/html > $@
unit::
- sh ${top_srcdir}/unit/unittest.sh
+ sh ${top_builddir}/unit/unittest.sh
clean::
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# $Id$
-
srcdir = @srcdir@
VPATH = @srcdir@
top_srcdir = @top_srcdir@
${ISCLIBS} ${LIBS}
unit::
- sh ${top_srcdir}/unit/unittest.sh
+ sh ${top_builddir}/unit/unittest.sh
clean distclean::
rm -f ${TARGETS}
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-# $Id$
-
srcdir = @srcdir@
VPATH = @srcdir@
top_srcdir = @top_srcdir@
resconf_test.@O@ ${LIBS}
unit::
- sh ${top_srcdir}/unit/unittest.sh
+ sh ${top_builddir}/unit/unittest.sh
clean distclean::
rm -f ${TARGETS}
time_test.@O@ ${ISCLIBS} ${LIBS}
unit::
- sh ${top_srcdir}/unit/unittest.sh
+ sh ${top_builddir}/unit/unittest.sh
clean distclean::
rm -f ${TARGETS}
${ISCLIBS} ${LIBS}
unit::
- sh ${top_srcdir}/unit/unittest.sh
+ sh ${top_builddir}/unit/unittest.sh
clean distclean::
rm -f ${TARGETS}