r43565 - in /trunk/dh-make-perl: debian/rules t/manifest.t

ryan52-guest at users.alioth.debian.org ryan52-guest at users.alioth.debian.org
Thu Sep 3 05:41:20 UTC 2009


Author: ryan52-guest
Date: Thu Sep  3 05:41:01 2009
New Revision: 43565

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=43565
Log:
only run the Test::DistManifest tests during package build, not CPAN install

Modified:
    trunk/dh-make-perl/debian/rules
    trunk/dh-make-perl/t/manifest.t

Modified: trunk/dh-make-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/debian/rules?rev=43565&op=diff
==============================================================================
--- trunk/dh-make-perl/debian/rules (original)
+++ trunk/dh-make-perl/debian/rules Thu Sep  3 05:41:01 2009
@@ -11,6 +11,10 @@
 override_dh_auto_clean:
 	dh_auto_clean
 	[ ! -f MANIFEST.SKIP.bak ] || mv MANIFEST.SKIP.bak MANIFEST.SKIP
+
+override_dh_auto_test:
+# leave this here for Test::DistManifest..I want it to happen on package build but not on CPAN install.
+	RELEASE_TESTING=1 dh_auto_test
 
 clean:
 	dh clean

Modified: trunk/dh-make-perl/t/manifest.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/t/manifest.t?rev=43565&op=diff
==============================================================================
--- trunk/dh-make-perl/t/manifest.t (original)
+++ trunk/dh-make-perl/t/manifest.t Thu Sep  3 05:41:01 2009
@@ -1,6 +1,10 @@
 #!/usr/bin/perl -w
 
 use Test::More;
+
+if(!$ENV{RELEASE_TESTING}) {
+  plan skip_all => 'Test::DistManifest only happens for RELEASE_TESTING';
+}
 
 eval 'use Test::DistManifest';
 if ($@) {




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