[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SCM] Debian package checker branch, master, updated. 2.5.12-47-gc697be2



The following commit has been merged in the master branch:
commit c697be24cdcdc2bbe44ab2f2ced4dab39a71eb4c
Author: Niels Thykier <niels@thykier.net>
Date:   Sat Apr 27 09:24:31 2013 +0200

    t/.../strict.t: Test collection and reporting as well
    
    Signed-off-by: Niels Thykier <niels@thykier.net>

diff --git a/t/scripts/strict.t b/t/scripts/strict.t
index 85e85cb..dd84287 100755
--- a/t/scripts/strict.t
+++ b/t/scripts/strict.t
@@ -2,10 +2,15 @@
 
 use strict;
 use warnings;
+use autodie;
 
 use Test::More;
 eval 'use Test::Strict';
 plan skip_all => 'Test::Strict required to run this test' if $@;
 
-my @DIRS = map { "$ENV{'LINTIAN_ROOT'}/$_" } qw(lib private frontend);
+my @DIRS = map { "$ENV{'LINTIAN_ROOT'}/$_" } qw(lib private frontend collection);
 all_perl_files_ok(@DIRS);
+
+# html_reports loads ./config, so we have do chdir before checking it.
+chdir("$ENV{'LINTIAN_ROOT'}/reporting");
+all_perl_files_ok('.');

-- 
Debian package checker


Reply to: