summaryrefslogtreecommitdiff
path: root/source4/script/tests/test_pidl.sh
blob: ade68a555ac4b6aa50fea2639acb6ebdc52d703a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh
if [ ! -n "$PERL" ]
then
	PERL=perl
fi

incdir=`dirname $0`
. $incdir/test_functions.sh

failed=0

if $PERL -e 'eval require Test::More;' > /dev/null 2>&1; then
  for f in pidl/tests/*.pl; do
     testit "$f" $PERL $f
  done
else 
   echo "Skipping pidl tests - Test::More not installed"
fi

testok $0 $failed