Subject: | Patches for failing tests |
Tests fail on all platforms, which prevents clean installs. These patches
should allow tests to pass.
Subject: | diff-load.txt |
--- ../MusicRoom-0.40.orig/t/00-load.t 2009-12-30 15:51:28.000000000 -0500
+++ t/00-load.t 2015-09-29 09:39:21.415491000 -0400
@@ -3,6 +3,7 @@
use Test::More tests => 1;
BEGIN {
+ $ENV{MUSICROOM_DIR} = 'foo';
use_ok( 'MusicRoom' ) || print "Bail out!
";
}
Subject: | diff-mak.txt |
--- ../MusicRoom-0.40.orig/Makefile.PL 2009-12-30 15:51:28.000000000 -0500
+++ Makefile.PL 2015-09-29 10:01:03.895049000 -0400
@@ -17,6 +17,8 @@
'IO::File' => 0,
'DBI' => 0,
'Test::More' => 0,
+ 'Text::LevenshteinXS' => 0,
+ 'MP3::Tag' => 0,
},
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
clean => { FILES => 'MusicRoom-*' },
Subject: | diff-podc.txt |
--- ../MusicRoom-0.40.orig/t/pod-coverage.t 2009-12-30 15:51:28.000000000 -0500
+++ t/pod-coverage.t 2015-09-29 09:43:14.197904000 -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";