[librdf-generator-void-perl] 05/10: Don't load progress if testing
Jonas Smedegaard
dr at jones.dk
Sun May 18 12:37:42 UTC 2014
This is an automated email from the git hooks/post-receive script.
js pushed a commit to tag dev-release-0.13_1
in repository librdf-generator-void-perl.
commit e333f2a61f2abea85791f20361d1ec65b7c68ddd
Author: Kjetil Kjernsmo <kjetil at kjernsmo.net>
Date: Wed Jul 17 12:39:38 2013 +0200
Don't load progress if testing
---
lib/App/perlrdf/Command/Void.pm | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/lib/App/perlrdf/Command/Void.pm b/lib/App/perlrdf/Command/Void.pm
index a83ab36..75c4d39 100644
--- a/lib/App/perlrdf/Command/Void.pm
+++ b/lib/App/perlrdf/Command/Void.pm
@@ -1,9 +1,10 @@
package App::perlrdf::Command::Void;
use strict;
-use Progress::Any::Output;
-Progress::Any::Output->set('TermProgressBarColor');
-
+unless ($ENV{'HARNESS_ACTIVE'} || $ENV{'AUTOMATED_TESTING'}) {
+ use Progress::Any::Output;
+ Progress::Any::Output->set('TermProgressBarColor');
+}
use warnings;
use utf8;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/librdf-generator-void-perl.git
More information about the Pkg-perl-cvs-commits
mailing list