[Jifty-commit] jifty branch, master, updated. 1.10214-2-gd46ff1c
Jifty commits
jifty-commit at lists.jifty.org
Fri Feb 18 19:33:36 EST 2011
The branch, master has been updated
via d46ff1c5d38fd889acb90bfaa4e831b5db090857 (commit)
from d4e1aa497499a6ec18059265af2ae36493ad9b42 (commit)
Summary of changes:
t/99-pod-coverage.t | 3 ++-
t/99-pod-spelling.t | 3 ++-
t/99-pod.t | 3 ++-
3 files changed, 6 insertions(+), 3 deletions(-)
- Log -----------------------------------------------------------------
commit d46ff1c5d38fd889acb90bfaa4e831b5db090857
Author: Shawn M Moore <sartak at bestpractical.com>
Date: Fri Feb 18 19:32:53 2011 -0500
Check -d 'inc/.author' before bothering to load the author test modules
diff --git a/t/99-pod-coverage.t b/t/99-pod-coverage.t
index 1491de9..13215a6 100644
--- a/t/99-pod-coverage.t
+++ b/t/99-pod-coverage.t
@@ -1,7 +1,8 @@
use Test::More;
+plan skip_all => "Coverage tests only run for authors" unless (-d 'inc/.author');
+
eval "use Test::Pod::Coverage 1.00";
plan skip_all => "Test::Pod::Coverage 1.00 required for testing POD coverage" if $@;
-plan skip_all => "Coverage tests only run for authors" unless (-d 'inc/.author');
all_pod_coverage_ok( );
# Workaround for dumb bug (fixed in 5.8.7) where Test::Builder thinks that
diff --git a/t/99-pod-spelling.t b/t/99-pod-spelling.t
index b738b46..09cafe0 100644
--- a/t/99-pod-spelling.t
+++ b/t/99-pod-spelling.t
@@ -2,9 +2,10 @@
use strict;
use Test::More;
+plan skip_all => "Coverage tests only run for authors" unless (-d 'inc/.author');
+
eval "use Test::Spelling";
plan skip_all => "Test::Spelling required for testing POD spelling" if $@;
-plan skip_all => "Coverage tests only run for authors" unless (-d 'inc/.author');
add_stopwords(<DATA>);
diff --git a/t/99-pod.t b/t/99-pod.t
index a8261f7..ffef165 100644
--- a/t/99-pod.t
+++ b/t/99-pod.t
@@ -1,6 +1,7 @@
use Test::More;
+plan skip_all => "Coverage tests only run for authors" unless (-d 'inc/.author');
+
eval "use Test::Pod 1.00";
plan skip_all => "Test::Pod 1.00 required for testing POD" if $@;
-plan skip_all => "Coverage tests only run for authors" unless (-d 'inc/.author');
all_pod_files_ok();
-----------------------------------------------------------------------
More information about the Jifty-commit
mailing list