From c147abbc3b83cc7b9ffb73be53c730fe7d780405 Mon Sep 17 00:00:00 2001 From: Fred Morcos Date: Wed, 25 Sep 2024 17:30:19 +0200 Subject: [PATCH] Keep the recursor stuff running --- regression-tests/runtests | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) 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 -- 2.47.2