develooper Front page | perl.perl5.porters | Postings from September 2017

[perl #132138] t/run/switches.t fails under miniperl

From:
Tony Cook via RT
Date:
September 21, 2017 00:36
Subject:
[perl #132138] t/run/switches.t fails under miniperl
Message ID:
rt-4.0.24-10862-1505954211-160.132138-15-0@perl.org
On Wed, 20 Sep 2017 16:12:44 -0700, jkeenan@pobox.com wrote:
> As documented in https://rt.perl.org/Ticket/Display.html?id=132137, 
> 'miniperl' is not well documented, particularly underneath the 'pod/' 
> directory where one would expect such documentation.
> 
> Consequently, I can't definitively say why the following test fails, but 
> I suspect that modules cannot be 'require'd under 'miniperl'.
> 
> #####
> $ ./miniperl t/run/switches.t
> 
> 1..137
> ok 1 - -0
> ok 2 - -0 after a -l
> ok 3 - -0 before a -l
> ...
> ok 110 - no warnings/errors without backup extension
> ok 111 - correct output without backup extension
> Can't locate File/Spec.pm in @INC (you may need to install the 
> File::Spec module) (@INC contains: ../lib) at t/run/switches.t line 424.
> # Looks like you planned 137 tests but ran 111.
> 
> #####
> 
> Attached is a 'grep' of t/run/switches.t showing where File::Spec is 
> required and invoked.

Thanks, fixed by 8200f8061dc056efb643917d5e90c8ee0aad8fd2.

Tony

---
via perlbug:  queue: perl5 status: new
https://rt.perl.org/Ticket/Display.html?id=132138



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About