In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/5a993d81c4b1abf13cd3ae4cbc04f26c7516bc37?hp=b7d798d66e9bbbf5a60d21864d3d5b10cb4adb29>
- Log ----------------------------------------------------------------- commit 5a993d81c4b1abf13cd3ae4cbc04f26c7516bc37 Author: Karl Williamson <[email protected]> Date: Thu Jul 13 22:32:02 2017 -0600 File-Glob/t/rt131211.t: skip when File::Glob not used File::Glob can be turned off at Configure time, and is on certain platforms. Thus this .t is not testing File::Glob, but what the platform's local sort-of-equivalent is. Thus the tests aren't valid ----------------------------------------------------------------------- Summary of changes: ext/File-Glob/Glob.pm | 2 +- ext/File-Glob/t/rt131211.t | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ext/File-Glob/Glob.pm b/ext/File-Glob/Glob.pm index c619749fa0..4f740235fb 100644 --- a/ext/File-Glob/Glob.pm +++ b/ext/File-Glob/Glob.pm @@ -37,7 +37,7 @@ pop @{$EXPORT_TAGS{bsd_glob}}; # no "glob" @EXPORT_OK = (@{$EXPORT_TAGS{'glob'}}, 'csh_glob'); -$VERSION = '1.28'; +$VERSION = '1.29'; sub import { require Exporter; diff --git a/ext/File-Glob/t/rt131211.t b/ext/File-Glob/t/rt131211.t index b29cd043ed..d78556b3dd 100644 --- a/ext/File-Glob/t/rt131211.t +++ b/ext/File-Glob/t/rt131211.t @@ -5,7 +5,10 @@ use File::Temp 'tempdir'; use File::Spec::Functions; use Test::More; use Time::HiRes qw(time); +use Config; +plan skip_all => 'This platform doesn\'t use File::Glob' + if $Config{ccflags} =~ /\b-DPERL_EXTERNAL_GLOB\b/; plan tests => 13; my $path = tempdir uc cleanup => 1; -- Perl5 Master Repository
