summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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