Skip to content

Commit

Permalink
start-test-stop: error out when tools are not built
Browse files Browse the repository at this point in the history
removes dependency on make
  • Loading branch information
fredmorcos committed Sep 24, 2024
1 parent 7adf1b9 commit 1f3d36c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions regression-tests/start-test-stop
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 1f3d36c

Please sign in to comment.