summaryrefslogtreecommitdiff
path: root/source4/selftest/test_pidl.sh
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-05-25 09:15:09 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:52:54 -0500
commit04bc1c416a75cb33a0989551651f451c2f91c008 (patch)
treed144a5bbc9d09d7d64689bc8a0895310ec80f419 /source4/selftest/test_pidl.sh
parent6d52f4a63f89f771707cd617a19b4162dabbd88a (diff)
downloadsamba-04bc1c416a75cb33a0989551651f451c2f91c008.tar.gz
samba-04bc1c416a75cb33a0989551651f451c2f91c008.tar.bz2
samba-04bc1c416a75cb33a0989551651f451c2f91c008.zip
r23137: make it possible to skip the pidl tests
with PIDL_TESTS_SKIP=yes metze (This used to be commit 682c19f326b67464c50651bd985a8f75d90d3ba9)
Diffstat (limited to 'source4/selftest/test_pidl.sh')
-rwxr-xr-xsource4/selftest/test_pidl.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/selftest/test_pidl.sh b/source4/selftest/test_pidl.sh
index d143cd6b0a..ca11db590f 100755
--- a/source4/selftest/test_pidl.sh
+++ b/source4/selftest/test_pidl.sh
@@ -7,7 +7,9 @@ fi
incdir=`dirname $0`
. $incdir/test_functions.sh
-if $PERL -e 'eval require Test::More;' > /dev/null 2>&1; then
+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