do not fails extension test if some supports are not available

This commit is contained in:
Laurent Laville 2021-07-17 08:35:42 +02:00 committed by Michele Locati
parent 2cdf6f92c1
commit e8f765e9d1
No known key found for this signature in database
GPG Key ID: 98B7CE2E7234E28B

View File

@ -6,19 +6,16 @@ set -o nounset
rc=0
if test -z "$(php --ri yac | grep 'Serializer => .*igbinary')"; then
echo 'yac has not been compiled with Igbinary support' >&2
rc=1
else
echo 'yac has been compiled with Igbinary support'
fi
if test -z "$(php --ri yac | grep 'Serializer => .*json')"; then
echo 'yac has not been compiled with Json support' >&2
rc=1
else
echo 'yac has been compiled with Json support'
fi
if test -z "$(php --ri yac | grep 'Serializer => .*msgpack')"; then
echo 'yac has not been compiled with Msgpack support' >&2
rc=1
else
echo 'yac has been compiled with Msgpack support'
fi