From: Greg Sabino Mullane Date: Fri, 4 Sep 2009 16:52:39 +0000 (-0400) Subject: Make translation tests only fire on RELEASE_TESTING X-Git-Tag: 2.12.0~17 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=d8af769a9d58c57967f591be49657c2160080234;p=check_postgres.git Make translation tests only fire on RELEASE_TESTING --- diff --git a/t/03_translations.t b/t/03_translations.t index 2abb9d8a1..e41b4e492 100644 --- a/t/03_translations.t +++ b/t/03_translations.t @@ -13,7 +13,14 @@ BEGIN { 'fr' => 'French', ); } -use Test::More tests => 3 + (5 * ((scalar keys %complete_langs)-1)); +use Test::More; + +if (!$ENV{RELEASE_TESTING}) { + plan (skip_all => 'Test skipped unless environment variable RELEASE_TESTING is set'); +} +else { + plan tests => 3 + (5 * ((scalar keys %complete_langs)-1)); +} my $file = 'check_postgres.pl'; my ($fh, $slurp);