From: Karen Etheridge Date: Mon, 9 Sep 2013 22:02:39 +0000 (-0700) Subject: fail on warnings only for the author (helps avoid upstream deprecation issues from... X-Git-Tag: v1.003022~3^2~5 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2FDevel-REPL.git;a=commitdiff_plain;h=ee9bf440a6a56c1681d22d0d27f9b357fa6c54be fail on warnings only for the author (helps avoid upstream deprecation issues from preventing installation) --- diff --git a/dist.ini b/dist.ini index 04c3d3c..ee8e909 100644 --- 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 diff --git a/t/load_core.t b/t/load_core.t index cab5a07..c55b25a 100755 --- a/t/load_core.t +++ b/t/load_core.t @@ -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'); diff --git a/t/load_plugins.t b/t/load_plugins.t index 891a72c..e7d1655 100755 --- a/t/load_plugins.t +++ b/t/load_plugins.t @@ -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');