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:
parent
c062b12fba
commit
77d27a4635
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user