Committed by Greg Sabino Mullane <[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