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

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

if test x"${PIDL_TESTS_SKIP}" = x"yes"; then
   echo "Skipping pidl tests - PIDL_TESTS_SKIP=yes"
elif $PERL -e 'eval require Test::More;' > /dev/null 2>&1; then
  for f in pidl/tests/*.pl; do
     plantest "$f" none $PERL $f
  done
else 
   echo "Skipping pidl tests - Test::More not installed"
fi