summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Sabino Mullane2009-04-28 14:56:31 +0000
committerGreg Sabino Mullane2009-04-28 14:56:31 +0000
commitf726971f2730e14980f86bdbf38eea8b42bff883 (patch)
treebf768c76d415adceec1c3054e3fa4c223dbee2ea
parent80e6159c6a571d92b0b8d103d7b0fa0de0ac5673 (diff)
Add TEST_EVERYTHING for testing ease.
-rw-r--r--check_postgres.pl.asc6
-rw-r--r--t/00_signature.t3
-rw-r--r--t/99_perlcritic.t4
-rw-r--r--t/99_spellcheck.t4
4 files changed, 9 insertions, 8 deletions
diff --git a/check_postgres.pl.asc b/check_postgres.pl.asc
index 7c969460c..85e0f0643 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 4021b927e..e8e05cd1f 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 8e8cad740..4ba5bf75c 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 147e8483e..a63966f1b 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 }) {