Make the test script easy to use locally

This commit is contained in:
Fred Cox 2020-09-18 21:22:39 +03:00
parent f15031994b
commit efeada0806

View File

@ -157,6 +157,10 @@ getDockerImageName() {
# Outputs: # Outputs:
# the space-separated list of supported PHP versions # the space-separated list of supported PHP versions
getAllPHPVersionsForExtensions() { getAllPHPVersionsForExtensions() {
if test -n "${PHP_VERSION_TO_TEST:-}"; then
echo "$PHP_VERSION_TO_TEST"
return
fi
getAllPHPVersionsForExtensions_result='' getAllPHPVersionsForExtensions_result=''
IFS=' ' IFS=' '
for getAllPHPVersionsForExtensions_extension in $1; do for getAllPHPVersionsForExtensions_extension in $1; do