From d8af769a9d58c57967f591be49657c2160080234 Mon Sep 17 00:00:00 2001 From: Greg Sabino Mullane Date: Fri, 4 Sep 2009 12:52:39 -0400 Subject: [PATCH] Make translation tests only fire on RELEASE_TESTING --- t/03_translations.t | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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); -- 2.39.5