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-11-08 14:54:14 +01:00
parent 0079745f97
commit efa09a37f3
No known key found for this signature in database
GPG key ID: 01623B9B652A20A7

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