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 || failed=`expr $failed + 1` done else echo "Skipping pidl tests - Test::More not installed" fi testok $0 $failed