From: Graham Knop Date: Sun, 9 Apr 2017 13:32:52 +0000 (+0200) Subject: always run all tests during release X-Git-Tag: v0.31~9 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2FConfig-Any.git;a=commitdiff_plain;h=c2a19f634f7a084c1e9c76142d4e7554895d454b;hp=df8a40c5ea67b2d8a89d654bdda7c538afe8f6b6 always run all tests during release --- diff --git a/t/20-parse.t b/t/20-parse.t index e1696a9..910c80b 100644 --- a/t/20-parse.t +++ b/t/20-parse.t @@ -34,7 +34,8 @@ sub load_parser_for { for my $f ( map { "t/conf/conf.$_" } keys %ext_map ) { my ( $skip, $mod ) = load_parser_for( $f ); SKIP: { - skip "File loading backend for $mod not found", 9 if $skip; + skip "File loading backend for $mod not found", 9 + if $skip && !$ENV{RELEASE_TESTING}; ok( my $c_arr = Config::Any->load_files( diff --git a/t/50-general.t b/t/50-general.t index 373e8e8..4f7f971 100644 --- a/t/50-general.t +++ b/t/50-general.t @@ -5,7 +5,7 @@ use Test::More; use Config::Any; use Config::Any::General; -if ( !Config::Any::General->is_supported ) { +if ( !Config::Any::General->is_supported && !$ENV{RELEASE_TESTING}) { plan skip_all => 'Config::General format not supported'; } else { diff --git a/t/51-ini.t b/t/51-ini.t index 9c81ca8..5cee996 100644 --- a/t/51-ini.t +++ b/t/51-ini.t @@ -5,7 +5,7 @@ use Test::More; use Config::Any; use Config::Any::INI; -if ( !Config::Any::INI->is_supported ) { +if ( !Config::Any::INI->is_supported && !$ENV{RELEASE_TESTING} ) { plan skip_all => 'INI format not supported'; } else { diff --git a/t/52-json.t b/t/52-json.t index c9e0967..8bc5cc9 100644 --- a/t/52-json.t +++ b/t/52-json.t @@ -5,7 +5,7 @@ use Test::More; use Config::Any; use Config::Any::JSON; -if ( !Config::Any::JSON->is_supported ) { +if ( !Config::Any::JSON->is_supported && !$ENV{RELEASE_TESTING} ) { plan skip_all => 'JSON format not supported'; } else { diff --git a/t/54-xml.t b/t/54-xml.t index 0fc6fd9..d3aa3d4 100644 --- a/t/54-xml.t +++ b/t/54-xml.t @@ -5,7 +5,7 @@ use Test::More; use Config::Any; use Config::Any::XML; -if ( !Config::Any::XML->is_supported ) { +if ( !Config::Any::XML->is_supported && !$ENV{RELEASE_TESTING} ) { plan skip_all => 'XML format not supported'; } else { diff --git a/t/55-yaml.t b/t/55-yaml.t index 2b2c52d..0f80d26 100644 --- a/t/55-yaml.t +++ b/t/55-yaml.t @@ -6,7 +6,7 @@ use Test::More; use Config::Any; use Config::Any::YAML; -if ( !Config::Any::YAML->is_supported ) { +if ( !Config::Any::YAML->is_supported && !$ENV{RELEASE_TESTING} ) { plan skip_all => 'YAML format not supported'; } else {