r53472 - /trunk/dh-make-perl/t/00-load.t
    dmn at users.alioth.debian.org 
    dmn at users.alioth.debian.org
       
    Mon Mar  1 20:26:24 UTC 2010
    
    
  
Author: dmn
Date: Mon Mar  1 20:26:17 2010
New Revision: 53472
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=53472
Log:
rewrite 00-load.t to check all .pms + dh-make-perl
Modified:
    trunk/dh-make-perl/t/00-load.t
Modified: trunk/dh-make-perl/t/00-load.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/t/00-load.t?rev=53472&op=diff
==============================================================================
--- trunk/dh-make-perl/t/00-load.t (original)
+++ trunk/dh-make-perl/t/00-load.t Mon Mar  1 20:26:17 2010
@@ -1,9 +1,13 @@
-#!perl -T
+#!perl
 
-use Test::More tests => 1;
+use strict;
 
-BEGIN {
-	use_ok( 'DhMakePerl' );
-}
+use Test::More;
+use Test::Compile;
 
-diag( "Testing DhMakePerl $DhMakePerl::VERSION, Perl $], $^X" );
+my @pms = all_pm_files;
+
+plan tests => @pms + 1;
+
+pm_file_ok($_) for @pms;
+pl_file_ok('dh-make-perl');
    
    
More information about the Pkg-perl-cvs-commits
mailing list