fail on warnings only for the author (helps avoid upstream deprecation issues from...
Karen Etheridge [Mon, 9 Sep 2013 22:02:39 +0000 (15:02 -0700)]
dist.ini
t/load_core.t
t/load_plugins.t

index 04c3d3c..ee8e909 100644 (file)
--- a/dist.ini
+++ b/dist.ini
@@ -39,6 +39,7 @@ Module::Runtime = 0
 [Prereqs / TestRequires]
 Test::More = 0.88
 Test::Warnings = 0
+if = 0
 
 [Prereqs / RuntimeRecommends]
 PPI::XS = 0.902
@@ -51,7 +52,6 @@ PPI::XS = 0.902
 -default = 1
 PPI = 0
 
-
 [OptionalFeature / DDS]
 -description = DDS plugin - better format results with Data::Dump::Streamer
 -always_recommend = 1
index cab5a07..c55b25a 100755 (executable)
@@ -2,7 +2,7 @@ use strict;
 use warnings;
 
 use Test::More;
-use Test::Warnings;
+use if $ENV{AUTHOR_TESTING}, 'Test::Warnings';
 
 use_ok('Devel::REPL');
 use_ok('Devel::REPL::Script');
index 891a72c..e7d1655 100755 (executable)
@@ -3,7 +3,7 @@ use strict;
 use warnings;
 
 use Test::More;
-use Test::Warnings;
+use if $ENV{AUTHOR_TESTING}, 'Test::Warnings';
 
 use_ok('Devel::REPL');