1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-31 17:18:04 +03:00
samba-mirror/source4/selftest/test_pidl.sh
Stefan Metzmacher 04bc1c416a r23137: make it possible to skip the pidl tests
with PIDL_TESTS_SKIP=yes

metze
(This used to be commit 682c19f326)
2007-10-10 14:52:54 -05:00

19 lines
397 B
Bash
Executable File

#!/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