From 1f3d36cf25569ec4e9be452ce221087ad495bff7 Mon Sep 17 00:00:00 2001 From: Fred Morcos Date: Tue, 3 Sep 2024 20:15:40 +0200 Subject: [PATCH] start-test-stop: error out when tools are not built removes dependency on make --- regression-tests/start-test-stop | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/regression-tests/start-test-stop b/regression-tests/start-test-stop index 9c23ae869a..c33eb35c60 100755 --- a/regression-tests/start-test-stop +++ b/regression-tests/start-test-stop @@ -242,8 +242,9 @@ spectest=$5 testsdir=./tests for prog in $SDIG $SAXFR $NOTIFY $NSEC3DIG; do - if `echo $prog | grep -q '\.\./pdns'`; then - ${MAKE} -C ../pdns ${prog##*../pdns/} || exit + if [ ! -x "$prog" ]; then + echo "Error: cannot find $prog, please build it." + exit 1 fi done -- 2.47.3