From: Fred Morcos Date: Wed, 25 Sep 2024 15:30:19 +0000 (+0200) Subject: Keep the recursor stuff running X-Git-Tag: rec-5.2.0-alpha1~30^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c147abbc3b83cc7b9ffb73be53c730fe7d780405;p=thirdparty%2Fpdns.git Keep the recursor stuff running --- diff --git a/regression-tests/runtests b/regression-tests/runtests index d02ea7eb3b..acf50bd93d 100755 --- a/regression-tests/runtests +++ b/regression-tests/runtests @@ -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