r47925 - /people/ansgar/source-v3/libcatalyst-modules-perl/debian/make-module.sh

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Sun Nov 29 20:18:16 UTC 2009


Author: gregoa
Date: Sun Nov 29 20:18:11 2009
New Revision: 47925

URL: http://svn.debian.org/wsvn/?sc=1&rev=47925
Log:
support nocheck in DEB_BUILD_OPTIONS (i.e. skipping tests)

Modified:
    people/ansgar/source-v3/libcatalyst-modules-perl/debian/make-module.sh

Modified: people/ansgar/source-v3/libcatalyst-modules-perl/debian/make-module.sh
URL: http://svn.debian.org/wsvn/people/ansgar/source-v3/libcatalyst-modules-perl/debian/make-module.sh?rev=47925&op=diff
==============================================================================
--- people/ansgar/source-v3/libcatalyst-modules-perl/debian/make-module.sh (original)
+++ people/ansgar/source-v3/libcatalyst-modules-perl/debian/make-module.sh Sun Nov 29 20:18:11 2009
@@ -26,12 +26,16 @@
 	        then
 			$PERL Build.PL installdirs=vendor
 			$PERL Build
-			$PERL Build test
+			if ! echo "$DEB_BUILD_OPTIONS" | grep -q nocheck ; then
+				$PERL Build test
+			fi
 			$PERL Build install destdir=$DESTDIR
         	else
 			PERL5_CPANPLUS_IS_RUNNING=1 PERL5LIB=$PERL5LIB $PERL Makefile.PL INSTALLDIRS=vendor --skipdeps
 			PERL5LIB=$PERL5LIB $MAKE
-			PERL5LIB=$PERL5LIB $MAKE test
+			if ! echo "$DEB_BUILD_OPTIONS" | grep -q nocheck ; then
+				PERL5LIB=$PERL5LIB $MAKE test
+			fi
 			$MAKE install DESTDIR=$DESTDIR
 		fi
 		cd ..




More information about the Pkg-perl-cvs-commits mailing list