]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Keep the recursor stuff running
authorFred Morcos <fred.morcos@open-xchange.com>
Wed, 25 Sep 2024 15:30:19 +0000 (17:30 +0200)
committerFred Morcos <fred.morcos@open-xchange.com>
Wed, 25 Sep 2024 15:30:19 +0000 (17:30 +0200)
regression-tests/runtests

index d02ea7eb3b0232e272c4489e7d5c98930b6b603b..acf50bd93d5d1268fde5e92965345900960543c9 100755 (executable)
@@ -46,8 +46,15 @@ spectest=$1
 [ -z $spectest ] && spectest=""
 
 for prog in $SDIG $SAXFR $NOTIFY $NSEC3DIG; do
-  if `echo $prog | grep -q '\.\./pdns'`; then
-    ${MAKE} -C ../pdns ${prog##*../pdns/} || exit
+  if [ -z "$PDNS_BUILD_PATH" ]; then
+    if `echo $prog | grep -q '\.\./pdns'`; then
+      ${MAKE} -C ../pdns ${prog##*../pdns/} || exit
+    fi
+  else
+    if [ ! -x "$prog" ]; then
+      echo "Error: cannot find $prog, please build it."
+      exit 1
+    fi
   fi
 done