Skip Menu |

This queue is for tickets about the Data-Sah-Coerce CPAN distribution.

Report information
The Basics
Id: 114593
Status: resolved
Priority: 0/
Queue: Data-Sah-Coerce

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.009
Fixed in: (no value)



Subject: Undeclared dependency
The 01-basic.t test fails, probably due to an undeclared dependency: # Child (perl) exited without calling finalize() # Failed test 'perl' # at /opt/perl-5.22.0t/lib/5.22.0/Test/Builder.pm line 279. Can't locate Time/Duration/Parse/AsHash.pm in @INC (you may need to install the Time::Duration::Parse::AsHash module) (@INC contains: ... .) at /tmpfs/.cpan-build-cpansand/2016052303/Data-Sah-Coerce-0.009-Njorfw/blib/lib/Data/Sah/Coerce.pm line 77. # Child (opt:return_type=sah+val) exited without calling finalize() # Failed test 'opt:return_type=sah+val' # at /opt/perl-5.22.0t/lib/5.22.0/Test/Builder.pm line 279. # Tests were run but no plan was declared and done_testing() was not seen. # Looks like your test exited with 2 just after 1. t/01-basic.t ............. Dubious, test returned 2 (wstat 512, 0x200) Failed 1/1 subtests
On Mon, 23 May 2016 05:48:01 GMT, SREZIC wrote: Show quoted text
> The 01-basic.t test fails, probably due to an undeclared dependency: > > # Child (perl) exited without calling finalize() > > # Failed test 'perl' > # at /opt/perl-5.22.0t/lib/5.22.0/Test/Builder.pm line 279. > Can't locate Time/Duration/Parse/AsHash.pm in @INC (you may need to > install the Time::Duration::Parse::AsHash module) (@INC contains: ... > .) at /tmpfs/.cpan-build-cpansand/2016052303/Data-Sah-Coerce-0.009- > Njorfw/blib/lib/Data/Sah/Coerce.pm line 77. > # Child (opt:return_type=sah+val) exited without calling finalize() > > # Failed test 'opt:return_type=sah+val' > # at /opt/perl-5.22.0t/lib/5.22.0/Test/Builder.pm line 279. > # Tests were run but no plan was declared and done_testing() was not > seen. > # Looks like your test exited with 2 just after 1. > t/01-basic.t ............. > Dubious, test returned 2 (wstat 512, 0x200) > Failed 1/1 subtests
Forgot to skip a test when an optional dependency is not available. Fixed.
On 2016-05-23 02:31:34, PERLANCAR wrote: Show quoted text
> On Mon, 23 May 2016 05:48:01 GMT, SREZIC wrote:
> > The 01-basic.t test fails, probably due to an undeclared dependency: > > > > # Child (perl) exited without calling finalize() > > > > # Failed test 'perl' > > # at /opt/perl-5.22.0t/lib/5.22.0/Test/Builder.pm line 279. > > Can't locate Time/Duration/Parse/AsHash.pm in @INC (you may need to > > install the Time::Duration::Parse::AsHash module) (@INC contains: ... > > .) at /tmpfs/.cpan-build-cpansand/2016052303/Data-Sah-Coerce-0.009- > > Njorfw/blib/lib/Data/Sah/Coerce.pm line 77. > > # Child (opt:return_type=sah+val) exited without calling finalize() > > > > # Failed test 'opt:return_type=sah+val' > > # at /opt/perl-5.22.0t/lib/5.22.0/Test/Builder.pm line 279. > > # Tests were run but no plan was declared and done_testing() was not > > seen. > > # Looks like your test exited with 2 just after 1. > > t/01-basic.t ............. > > Dubious, test returned 2 (wstat 512, 0x200) > > Failed 1/1 subtests
> > Forgot to skip a test when an optional dependency is not available. Fixed.
I see a similar fail in Data-Sah-Coerce-0.012, now in t/perl-duration.t: Can't locate Time/Duration/Parse/AsHash.pm in @INC (you may need to install the Time::Duration::Parse::AsHash module) (@INC contains: ...) at /tmpfs/.cpan-build-cpansand/2016052506/Data-Sah-Coerce-0.012-0zRaYW/blib/lib/Data/Sah/Coerce.pm line 53. # Child (coerce_to=float(secs)) exited without calling finalize() # Failed test 'coerce_to=float(secs)' # at /opt/perl-5.22.1t/lib/5.22.1/Test/Builder.pm line 279. # Tests were run but no plan was declared and done_testing() was not seen. # Looks like your test exited with 2 just after 1. t/perl-duration.t ........ Dubious, test returned 2 (wstat 512, 0x200) Failed 1/1 subtests
On Wed, 25 May 2016 07:12:09 GMT, SREZIC wrote: Show quoted text
> On 2016-05-23 02:31:34, PERLANCAR wrote:
> > On Mon, 23 May 2016 05:48:01 GMT, SREZIC wrote:
> > > The 01-basic.t test fails, probably due to an undeclared > > > dependency: > > > > > > # Child (perl) exited without calling finalize() > > > > > > # Failed test 'perl' > > > # at /opt/perl-5.22.0t/lib/5.22.0/Test/Builder.pm line 279. > > > Can't locate Time/Duration/Parse/AsHash.pm in @INC (you may need to > > > install the Time::Duration::Parse::AsHash module) (@INC contains: > > > ... > > > .) at /tmpfs/.cpan-build-cpansand/2016052303/Data-Sah-Coerce-0.009- > > > Njorfw/blib/lib/Data/Sah/Coerce.pm line 77. > > > # Child (opt:return_type=sah+val) exited without calling finalize() > > > > > > # Failed test 'opt:return_type=sah+val' > > > # at /opt/perl-5.22.0t/lib/5.22.0/Test/Builder.pm line 279. > > > # Tests were run but no plan was declared and done_testing() was > > > not > > > seen. > > > # Looks like your test exited with 2 just after 1. > > > t/01-basic.t ............. > > > Dubious, test returned 2 (wstat 512, 0x200) > > > Failed 1/1 subtests
> > > > Forgot to skip a test when an optional dependency is not available. > > Fixed.
> > I see a similar fail in Data-Sah-Coerce-0.012, now in t/perl- > duration.t: > > Can't locate Time/Duration/Parse/AsHash.pm in @INC (you may need to > install the Time::Duration::Parse::AsHash module) (@INC contains: ...) > at /tmpfs/.cpan-build-cpansand/2016052506/Data-Sah-Coerce-0.012- > 0zRaYW/blib/lib/Data/Sah/Coerce.pm line 53. > # Child (coerce_to=float(secs)) exited without calling finalize() > > # Failed test 'coerce_to=float(secs)' > # at /opt/perl-5.22.1t/lib/5.22.1/Test/Builder.pm line 279. > # Tests were run but no plan was declared and done_testing() was not > seen. > # Looks like your test exited with 2 just after 1. > t/perl-duration.t ........ > Dubious, test returned 2 (wstat 512, 0x200) > Failed 1/1 subtests
Yup, another one sprung up. And already fixed in 0.013.