@@ -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
@@ -1,5 +1,5 @@
+ 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@