Subject: | Patches for failing tests |
Tests fail on all platforms, which prevents clean installs.
These patches should allow tests to pass.
I also patched the POD so that the SYNOPSIS will render properly as a verbatim
paragraph.
Subject: | diff-mak.txt |
--- ../Statistics-Normality-0.01.orig/Makefile.PL 2012-01-19 17:22:06.000000000 -0500
+++ Makefile.PL 2015-10-15 13:31:23.467412000 -0400
@@ -13,6 +13,7 @@
PL_FILES => {},
PREREQ_PM => {
'Test::More' => 0,
+ 'Statistics::Distributions' => 0,
},
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
clean => { FILES => 'Statistics-Normality-*' },
Subject: | diff-norm.txt |
--- ../Statistics-Normality-0.01.orig/t/01-normality.t 2012-01-20 12:34:53.000000000 -0500
+++ t/01-normality.t 2015-10-15 13:20:36.558342000 -0400
@@ -1,7 +1,7 @@
#!perl -T
use strict;
use warnings;
-use Test::More;
+use Test::More tests => 4;
use Statistics::Normality ':all';
Subject: | diff-pm.txt |
--- ../Statistics-Normality-0.01.orig/lib/Statistics/Normality.pm 2012-01-19 17:42:46.000000000 -0500
+++ lib/Statistics/Normality.pm 2015-10-15 13:29:13.143144000 -0400
@@ -20,9 +20,9 @@
=head1 SYNOPSIS
-use Statistics::Normality ':all';
-use Statistics::Normality 'shapiro_wilk_test';
-use Statistics::Normality 'dagostino_k_square_test';
+ use Statistics::Normality ':all';
+ use Statistics::Normality 'shapiro_wilk_test';
+ use Statistics::Normality 'dagostino_k_square_test';
=head1 DESCRIPTION
Subject: | diff-podc.txt |
--- ../Statistics-Normality-0.01.orig/t/pod-coverage.t 2012-01-19 17:22:06.000000000 -0500
+++ t/pod-coverage.t 2015-10-15 13:23:35.954079000 -0400
@@ -2,6 +2,10 @@
use warnings;
use Test::More;
+unless ( $ENV{RELEASE_TESTING} ) {
+ plan( skip_all => "Author tests not required for installation" );
+}
+
# Ensure a recent version of Test::Pod::Coverage
my $min_tpc = 1.08;
eval "use Test::Pod::Coverage $min_tpc";