Make Perl interpreter required for system tests

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 084d72d1d5)
This commit is contained in:
Tom Krizek
2022-12-21 10:49:33 +01:00
parent 0079745f97
commit efa09a37f3
+5 -1
View File
@@ -81,7 +81,11 @@ export PYTEST=@PYTEST@
#
# Interpreters for system tests detected by configure
#
export PERL=$(command -v "@PERL@")
export PERL=$(command -v "@PERL@" || true)
if ! test -x "$PERL"; then
echo "Perl interpreter is required for system tests."
exit 77
fi
export PYTHON=$(command -v "@PYTHON@" || true)
# Load common values