]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Make Perl interpreter required for system tests
authorTom Krizek <tkrizek@isc.org>
Tue, 8 Nov 2022 13:54:14 +0000 (14:54 +0100)
committerTom Krizek <tkrizek@isc.org>
Thu, 22 Dec 2022 14:54:19 +0000 (15:54 +0100)
This change has no practical impact, as Perl was already required for
all system tests, this check only makes it more explicit.

(cherry picked from commit 084d72d1d5ea38f4ccc600fd04d61fed1c3124c3)

conf.sh.win32 was modified in addition of the mentioned commit.

bin/tests/system/conf.sh.in
bin/tests/system/conf.sh.win32

index 05fabaaef98ee485baaeb5c5638235fc65a7e526..a229c8567173ff365ebdcd4b74bc860f46d47da9 100644 (file)
@@ -99,6 +99,10 @@ export PSSUSPEND=
 # Interpreters for system tests detected by configure
 #
 export PERL=@PERL@
+if ! test -x "$PERL"; then
+    echo "Perl interpreter is required for system tests."
+    exit 77
+fi
 export PYTHON=@PYTHON@
 
 #
index c9a9612a8ff123f03c237a072e4ed84498dab697..95f9c1679d6178f98578c71c2ac963a85535cfe6 100644 (file)
@@ -32,6 +32,10 @@ export VSCONF=${VSCONF:-Debug}
 
 # Interpreters for system tests
 export PERL=/usr/bin/perl
+if ! test -x "$PERL"; then
+    echo "Perl interpreter is required for system tests."
+    exit 77
+fi
 export PYTHON=@PYTHON@