Make the test script easy to use locally

pull/167/head
Fred Cox 2020-09-18 21:22:39 +03:00
parent f15031994b
commit efeada0806
1 changed files with 4 additions and 0 deletions

View File

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