do not fails extension test if some supports are not available

pull/392/head
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
1 changed files with 0 additions and 3 deletions

View File

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