[check_postgres] [commit] Add TEST_EVERYTHING for testing ease.

check_postgres at bucardo.org check_postgres at bucardo.org
Tue Apr 28 14:56:54 UTC 2009


Committed by Greg Sabino Mullane <greg at endpoint.com>

Add TEST_EVERYTHING for testing ease.

---
 check_postgres.pl.asc |    6 +++---
 t/00_signature.t      |    3 ++-
 t/99_perlcritic.t     |    4 ++--
 t/99_spellcheck.t     |    4 ++--
 4 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/check_postgres.pl.asc b/check_postgres.pl.asc
index 7c96946..85e0f06 100644
--- a/check_postgres.pl.asc
+++ b/check_postgres.pl.asc
@@ -1,6 +1,6 @@
 -----BEGIN PGP SIGNATURE-----
 
-iEYEABEDAAYFAkn3F10ACgkQvJuQZxSWSsgCsgCeIiceUekr6p+LdPnaVT9nOzuv
-iZEAnjM5MdYK68UwTDhwJ5Ju42DUhqJA
-=r0EB
+iEYEABEDAAYFAkn3GRwACgkQvJuQZxSWSsipUgCfSgw0v+Ib9MkS3dI2W2GxQu1D
+JeEAn3fn0FW2jpkxf0uW/xRNoMb00M51
+=jWv7
 -----END PGP SIGNATURE-----
diff --git a/t/00_signature.t b/t/00_signature.t
index 4021b92..e8e05cd 100644
--- a/t/00_signature.t
+++ b/t/00_signature.t
@@ -1,6 +1,7 @@
 #!perl
 
 ## Test that our PGP signature file is valid
+## Requires ENV TEST_SIGNATURE or TEST_EVERYTHING to be set
 
 use 5.006;
 use strict;
@@ -10,7 +11,7 @@ select(($|=1,select(STDERR),$|=1)[1]);
 
 my $sigfile = 'check_postgres.pl.asc';
 
-if (!$ENV{TEST_SIGNATURE}) {
+if (!$ENV{TEST_SIGNATURE} and !$ENV{TEST_EVERYTHING}) {
 	plan skip_all => 'Set the environment variable TEST_SIGNATURE to enable this test';
 }
 plan tests => 1;
diff --git a/t/99_perlcritic.t b/t/99_perlcritic.t
index 8e8cad7..4ba5bf7 100644
--- a/t/99_perlcritic.t
+++ b/t/99_perlcritic.t
@@ -2,7 +2,7 @@
 
 ## Run Perl::Critic against the source code and the tests
 ## This is highly customized, so take with a grain of salt
-## Requires TEST_CRITIC to be set
+## Requires ENV TEST_CRITIC or TEST_EVERYTHING to be set
 
 use strict;
 use warnings;
@@ -12,7 +12,7 @@ select(($|=1,select(STDERR),$|=1)[1]);
 
 my @testfiles;
 
-if (!$ENV{TEST_CRITIC}) {
+if (!$ENV{TEST_CRITIC} and !$ENV{TEST_EVERYTHING}) {
 	plan skip_all => 'Set the environment variable TEST_CRITIC to enable this test';
 }
 elsif (!eval { require Perl::Critic; 1 }) {
diff --git a/t/99_spellcheck.t b/t/99_spellcheck.t
index 147e848..a63966f 100644
--- a/t/99_spellcheck.t
+++ b/t/99_spellcheck.t
@@ -1,7 +1,7 @@
 #!perl
 
 ## Spellcheck as much as we can
-## Requires TEST_SPELL to be set
+## Requires ENV TEST_SPELL or TEST_EVERYTHING to be set
 
 use strict;
 use warnings;
@@ -10,7 +10,7 @@ select(($|=1,select(STDERR),$|=1)[1]);
 
 my (@testfiles, $fh);
 
-if (!$ENV{TEST_SPELL}) {
+if (!$ENV{TEST_SPELL} and !$ENV{TEST_EVERYTHING}) {
 	plan skip_all => 'Set the environment variable TEST_SPELL to enable this test';
 }
 elsif (!eval { require Text::SpellChecker; 1 }) {
-- 
1.6.0.5



More information about the Check_postgres mailing list