1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

r18251: skip pidl tests unless the platform has Test::More

(This used to be commit 6c7dd852c0)
This commit is contained in:
Andrew Tridgell 2006-09-08 04:54:30 +00:00 committed by Gerald (Jerry) Carter
parent c062b12fba
commit 77d27a4635

View File

@ -9,8 +9,12 @@ incdir=`dirname $0`
failed=0
for f in pidl/tests/*.pl; do
testit "$f" $PERL $f || failed=`expr $failed + 1`
done
if $PERL -e 'eval require Test::More;' > /dev/null 2>&1; then
for f in pidl/tests/*.pl; do
testit "$f" $PERL $f || failed=`expr $failed + 1`
done
else
echo "Skipping pidl tests - Test::More not installed"
fi
testok $0 $failed