[lintian] 01/02: t: Skip strict.t under --coverage
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
in repository lintian.
commit 2726fdf7206ca23ae8c3a528616161e35c05e9d6
Author: Niels Thykier <niels@thykier.net>
Date: Sat Feb 6 10:55:07 2016 +0000
t: Skip strict.t under --coverage
Signed-off-by: Niels Thykier <niels@thykier.net>
---
t/scripts/strict.t | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/t/scripts/strict.t b/t/scripts/strict.t
index 3002fa2..0442b2c 100755
--- a/t/scripts/strict.t
+++ b/t/scripts/strict.t
@@ -4,7 +4,10 @@ use strict;
use warnings;
use autodie;
-use Test::More;
+use
+ if $ENV{'LINTIAN_COVERAGE'}, 'Test::More',
+ 'skip_all' => 'Not needed for coverage of Lintian';
+
eval 'use Test::Strict';
plan skip_all => 'Test::Strict required to run this test' if $@;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: