r23137: make it possible to skip the pidl tests
authorStefan Metzmacher <metze@samba.org>
Fri, 25 May 2007 09:15:09 +0000 (09:15 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:52:54 +0000 (14:52 -0500)
with PIDL_TESTS_SKIP=yes

metze
(This used to be commit 682c19f326b67464c50651bd985a8f75d90d3ba9)

source4/selftest/test_pidl.sh

index d143cd6b0a023c257c5e2a91405f4026f8081e41..ca11db590fd4e386e79f3e8ec77fa7134634f159 100755 (executable)
@@ -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