summaryrefslogtreecommitdiff
path: root/source4/selftest/test_pidl.sh
blob: 6a20cd9fc8f64778092fb4c9bc9a030f873eabd2 (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 "|" ./script/harness2subunit.pl
  done
else 
   echo "Skipping pidl tests - Test::More not installed"
fi