Skip Menu |

This queue is for tickets about the Text-Capitalize CPAN distribution.

Report information
The Basics
Id: 82339
Status: new
Priority: 0/
Queue: Text-Capitalize

People
Owner: Nobody in particular
Requestors: dolmen [...] cpan.org
rsrchboy [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: (no value)
Fixed in: (no value)



Subject: Pod (author) failures cause dist install to fail
These tests (well, t/pod.t at any rate) are causing fails; e.g. http://www.cpantesters.org/cpan/report/1819436a-a6b0-11e1-ac9d-47ce0df65b4f This marks them as author tests -- as they test comment syntax, not code functionality -- and so they skip during user install.
Subject: 0001-mark-pod-tests-as-author-only.patch
From c97449a4a7947ab7cde9abdfa0c4d125fcdfefeb Mon Sep 17 00:00:00 2001 From: Chris Weyl <cweyl@alumni.drew.edu> Date: Sun, 30 Dec 2012 11:16:37 -0600 Subject: [PATCH] mark pod tests as author-only These tests (well, t/pod.t at any rate) are causing fails; e.g. http://www.cpantesters.org/cpan/report/1819436a-a6b0-11e1-ac9d-47ce0df65b4f This marks them as author tests, and so they skip during user install. --- t/pod-coverage.t | 8 ++++++++ t/pod.t | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/t/pod-coverage.t b/t/pod-coverage.t index fc40a57..e669cee 100644 --- a/t/pod-coverage.t +++ b/t/pod-coverage.t @@ -1,5 +1,13 @@ use strict; use warnings; + +BEGIN { + unless ($ENV{AUTHOR_TESTING}) { + require Test::More; + Test::More::plan(skip_all => 'these tests are for testing by the author'); + } +} + use Test::More; # Ensure a recent version of Test::Pod::Coverage diff --git a/t/pod.t b/t/pod.t index ee8b18a..a389af0 100644 --- a/t/pod.t +++ b/t/pod.t @@ -1,5 +1,13 @@ #!perl -T +BEGIN { + unless ($ENV{AUTHOR_TESTING}) { + require Test::More; + Test::More::plan(skip_all => 'these tests are for testing by the author'); + } +} + + use strict; use warnings; use Test::More; -- 1.8.0.2