Test yac with dependencies
Test: yac,yac+igbinary,yac+msgpack,yac+igbinary+msgpackpull/392/head
parent
73c96fc031
commit
af74929e39
|
@ -4,19 +4,28 @@ set -o errexit
|
||||||
set -o nounset
|
set -o nounset
|
||||||
|
|
||||||
rc=0
|
rc=0
|
||||||
if test -z "$(php --ri yac | grep 'Serializer => .*igbinary')"; then
|
if php --ri igbinary >/dev/null 2>/dev/null; then
|
||||||
echo 'yac has not been compiled with Igbinary support' >&2
|
if test -z "$(php --ri yac | grep 'Serializer => .*igbinary')"; then
|
||||||
else
|
echo 'yac has not been compiled with Igbinary support' >&2
|
||||||
echo 'yac has been compiled with Igbinary support'
|
rc=1
|
||||||
|
else
|
||||||
|
echo 'yac has been compiled with Igbinary support'
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
if test -z "$(php --ri yac | grep 'Serializer => .*json')"; then
|
if php --ri json >/dev/null 2>/dev/null; then
|
||||||
echo 'yac has not been compiled with Json support' >&2
|
if test -z "$(php --ri yac | grep 'Serializer => .*json')"; then
|
||||||
else
|
echo 'yac has not been compiled with Json support' >&2
|
||||||
echo 'yac has been compiled with Json support'
|
rc=1
|
||||||
|
else
|
||||||
|
echo 'yac has been compiled with Json support'
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
if test -z "$(php --ri yac | grep 'Serializer => .*msgpack')"; then
|
if php --ri msgpack >/dev/null 2>/dev/null; then
|
||||||
echo 'yac has not been compiled with Msgpack support' >&2
|
if test -z "$(php --ri yac | grep 'Serializer => .*msgpack')"; then
|
||||||
else
|
echo 'yac has not been compiled with Msgpack support' >&2
|
||||||
echo 'yac has been compiled with Msgpack support'
|
rc=1
|
||||||
|
else
|
||||||
|
echo 'yac has been compiled with Msgpack support'
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
exit $rc
|
exit $rc
|
||||||
|
|
Loading…
Reference in New Issue