diff --git a/bin/tests/system/conf.sh.in b/bin/tests/system/conf.sh.in index 8d4a55c21c..98a6e3d69e 100644 --- a/bin/tests/system/conf.sh.in +++ b/bin/tests/system/conf.sh.in @@ -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