[Jifty-commit] jifty-dbi branch, master, updated. 0.66-4-gace56a2
Jifty commits
jifty-commit at lists.jifty.org
Fri Feb 18 19:32:12 EST 2011
The branch, master has been updated
via ace56a232a61efe902a82d95a0d56964eb5230e9 (commit)
from 8bc69713661e7ed8b86d89a949952bc4b9061a4d (commit)
Summary of changes:
t/99-pod-coverage.t | 3 ++-
t/99-pod-spelling.t | 3 ++-
t/99-pod.t | 3 ++-
t/99-tabs.t | 3 ++-
4 files changed, 8 insertions(+), 4 deletions(-)
- Log -----------------------------------------------------------------
commit ace56a232a61efe902a82d95a0d56964eb5230e9
Author: Shawn M Moore <sartak at bestpractical.com>
Date: Fri Feb 18 19:31: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 fe1393f..a6359fd 100644
--- a/t/99-pod-spelling.t
+++ b/t/99-pod-spelling.t
@@ -3,9 +3,10 @@
use strict;
use Test::More;
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');
+plan skip_all => "Test::Spelling required for testing POD spelling" if $@;
+
add_stopwords(<DATA>);
local $ENV{LC_ALL} = 'C';
diff --git a/t/99-pod.t b/t/99-pod.t
index 67dc72a..e76b5ea 100644
--- a/t/99-pod.t
+++ b/t/99-pod.t
@@ -1,5 +1,6 @@
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();
diff --git a/t/99-tabs.t b/t/99-tabs.t
index 1d0b380..7317190 100644
--- a/t/99-tabs.t
+++ b/t/99-tabs.t
@@ -1,6 +1,7 @@
use Test::More;
+plan skip_all => "Tab tests only run for authors" unless (-d 'inc/.author');
+
eval "use Test::NoTabs 1.00";
plan skip_all => "Test::NoTabs 1.00 required for testing POD coverage" if $@;
-plan skip_all => "Tab tests only run for authors" unless (-d 'inc/.author');
all_perl_files_ok('lib', 't');
-----------------------------------------------------------------------
More information about the Jifty-commit
mailing list