avoid setting the minimum version to 5.8 because of the binmode()
Karen Etheridge [Tue, 21 Jun 2016 03:27:02 +0000 (20:27 -0700)]
dist.ini

index 0ed9428..1936632 100644 (file)
--- a/dist.ini
+++ b/dist.ini
@@ -4,6 +4,10 @@ license = Perl_5
 copyright_holder = Matthijs van Duin and cPanel Inc.
 copyright_year = 2004
 
+[FileFinder::Filter / all_files_but_exotic_names]
+finder = :TestFiles
+skip = t/exotic_names.t ; trips _binmode_2_arg -> 5.008
+
 [@Author::ETHER]
 :version = 0.095
 ; instead of using the remote: origin = p5sagit@git.shadowcat.co.uk:Sub-Name.git,
@@ -15,6 +19,7 @@ installer = MakeMaker
 Authority.authority = cpan:FLORA
 Test::MinimumVersion.max_target_perl = 5.006
 Test::ReportPrereqs.include = DynaLoader
+MinimumPerl.test_finder = all_files_but_exotic_names
 
 ; authordep Pod::Weaver::Section::AllowOverride
 
@@ -34,3 +39,8 @@ check_dual_life_versions = 0
 
 [MetaResources]
 x_IRC = irc://irc.perl.org/#toolchain
+
+; TODO: make this an option of [Test::MinimumVersion]
+[Substitute]
+file = xt/release/minimum-version.t
+code = s/^(all_minimum_version_ok\([^)]+)(\s*\);)/$1, { skip => ["t\/exotic_names.t"] }$2/