projects
/
check_postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85bce89
)
Make translation tests only fire on RELEASE_TESTING
author
Greg Sabino Mullane
<
[email protected]
>
Fri, 4 Sep 2009 16:52:39 +0000
(12:52 -0400)
committer
Greg Sabino Mullane
<
[email protected]
>
Fri, 4 Sep 2009 16:52:39 +0000
(12:52 -0400)
t/03_translations.t
patch
|
blob
|
blame
|
history
diff --git
a/t/03_translations.t
b/t/03_translations.t
index 2abb9d8a1118b0e7a2521309deb6f970fbb396f6..e41b4e4921e1406e3a5fb7fac04263c244368f00 100644
(file)
--- 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);