[DBD::Pg] Make some tests AUTHOR_TESTING, not RELEASE_TESTING, as we really don't want anyone else to run them.
dbdpg-commits-gENoVmVU/[email protected] Tue, 1 Oct 2013 15:04:54 -0400
| Newsgroups | gmane.comp.db.postgresql.dbdpg.cvs |
|---|---|
| Message-ID | <[email protected]> |
Committed by Greg Sabino Mullane <greg-O9fzpki4YnJWk0Htik3J/[email protected]> Make some tests AUTHOR_TESTING, not RELEASE_TESTING, as we really don't want anyone else to run them. --- t/99_perlcritic.t | 4 ++-- t/99_pod.t | 4 ++-- t/99_spellcheck.t | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/t/99_perlcritic.t b/t/99_perlcritic.t index 7fe4cd1..1bd179d 100644 --- a/t/99_perlcritic.t +++ b/t/99_perlcritic.t @@ -12,8 +12,8 @@ select(($|=1,select(STDERR),$|=1)[1]); my (@testfiles,%fileslurp,$t); -if (! $ENV{RELEASE_TESTING}) { - plan (skip_all => 'Test skipped unless environment variable RELEASE_TESTING is set'); +if (! $ENV{AUTHOR_TESTING}) { + plan (skip_all => 'Test skipped unless environment variable AUTHOR_TESTING is set'); } elsif (!eval { require Perl::Critic; 1 }) { plan skip_all => 'Could not find Perl::Critic'; diff --git a/t/99_pod.t b/t/99_pod.t index 2a63652..f2317f6 100644 --- a/t/99_pod.t +++ b/t/99_pod.t @@ -9,8 +9,8 @@ use warnings; use Test::More; select(($|=1,select(STDERR),$|=1)[1]); -if (! $ENV{RELEASE_TESTING}) { - plan (skip_all => 'Test skipped unless environment variable RELEASE_TESTING is set'); +if (! $ENV{AUTHOR_TESTING}) { + plan (skip_all => 'Test skipped unless environment variable AUTHOR_TESTING is set'); } plan tests => 19; diff --git a/t/99_spellcheck.t b/t/99_spellcheck.t index c3cc051..22d156e 100644 --- a/t/99_spellcheck.t +++ b/t/99_spellcheck.t @@ -10,8 +10,8 @@ select(($|=1,select(STDERR),$|=1)[1]); my (@testfiles, $fh); -if (! $ENV{RELEASE_TESTING}) { - plan (skip_all => 'Test skipped unless environment variable RELEASE_TESTING is set'); +if (! $ENV{AUTHOR_TESTING}) { + plan (skip_all => 'Test skipped unless environment variable AUTHOR_TESTING is set'); } elsif (!eval { require Text::SpellChecker; 1 }) { plan skip_all => 'Could not find Text::SpellChecker'; -- 1.8.4