Author: metze
Date: 2007-05-25 09:15:09 +0000 (Fri, 25 May 2007)
New Revision: 23137

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=23137

Log:
make it possible to skip the pidl tests
with PIDL_TESTS_SKIP=yes

metze
Modified:
   branches/SAMBA_4_0/source/selftest/test_pidl.sh


Changeset:
Modified: branches/SAMBA_4_0/source/selftest/test_pidl.sh
===================================================================
--- branches/SAMBA_4_0/source/selftest/test_pidl.sh     2007-05-25 08:44:33 UTC 
(rev 23136)
+++ branches/SAMBA_4_0/source/selftest/test_pidl.sh     2007-05-25 09:15:09 UTC 
(rev 23137)
@@ -7,7 +7,9 @@
 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

Reply via email to