diff options
author | Greg Sabino Mullane | 2009-09-04 16:52:39 +0000 |
---|---|---|
committer | Greg Sabino Mullane | 2009-09-04 16:52:39 +0000 |
commit | d8af769a9d58c57967f591be49657c2160080234 (patch) | |
tree | 1b662b1ab036914874d02317c62a8a2ec24bcf2f | |
parent | 85bce89fd73b2b862873f5b14719b5f48a7875a5 (diff) |
Make translation tests only fire on RELEASE_TESTING
-rw-r--r-- | t/03_translations.t | 9 |
1 files changed, 8 insertions, 1 deletions
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); |