]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
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)
committerStefan Metzmacher <metze@samba.org>
Fri, 25 May 2007 09:15:09 +0000 (09:15 +0000)
with PIDL_TESTS_SKIP=yes

metze

source/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