[cpanminus] 02/03: Add a patch to add a test which tries to load all modules.

gregor herrmann gregoa at debian.org
Fri Jan 13 21:06:41 UTC 2017


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository cpanminus.

commit 3a7343c236fd847420ef5fd0a35421bc46210527
Author: gregor herrmann <gregoa at debian.org>
Date:   Fri Jan 13 22:05:12 2017 +0100

    Add a patch to add a test which tries to load all modules.
---
 debian/patches/series          |  1 +
 debian/patches/test-load.patch | 16 ++++++++++++++++
 2 files changed, 17 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..b5164c2
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+test-load.patch
diff --git a/debian/patches/test-load.patch b/debian/patches/test-load.patch
new file mode 100644
index 0000000..7f0cb5f
--- /dev/null
+++ b/debian/patches/test-load.patch
@@ -0,0 +1,16 @@
+Description: add a test to load modules
+Origin: vendor
+Forwarded: not-needed
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2017-01-13
+
+--- /dev/null
++++ b/t/load.t
+@@ -0,0 +1,7 @@
++#!/usr/bin/perl
++
++use Test::More;
++
++my @modules = ( 'App::cpanminus', 'App::cpanminus::fatscript' );
++plan tests => scalar @modules;
++use_ok($_) foreach @modules;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/cpanminus.git



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