Commit f3bd834c authored by JINMEI Tatuya's avatar JINMEI Tatuya

[trac606] make sure distclean works for a separate builddir,

even if systest itself cannot be run for such build environment.
also added an explicit check about the assumption in conf.sh with
an error message explaining what's wrong.
parent 860a2965
......@@ -80,7 +80,7 @@ cppcheck:
# system tests
systest:
cd tests/system; \
sh runall.sh
sh $(abs_srcdir)/tests/system/runall.sh
#### include external sources in the distributed tarball:
EXTRA_DIST = ext/asio/README
......
systest:
sh runall.sh
sh $(srcdir)/runall.sh
distclean-local:
sh cleanall.sh
sh $(srcdir)/cleanall.sh
......@@ -20,6 +20,13 @@
# other shell scripts.
#
# Prerequisite check
if [ @srcdir@ != @builddir@ ]; then
echo "Currently systest doesn't work for a separate build tree."
echo "Rebuild BIND 10 on the source tree and run the tests."
exit 1
fi
# Find the top of the source tree.
TOP=@abs_top_srcdir@
......
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