Undeclared (test) dependency Test::Spec::Acceptance
eserte opened this issue · comments
The test suite fails on some of my smokers:
PERL_DL_NONLAZY=1 "/usr/perl5.20.1Dp/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/Azure/Storage/Blob/Client/*.t t/Azure/Storage/Blob/Client/Service/*.t
Can't locate Test/Spec/Acceptance.pm in @INC (you may need to install the Test::Spec::Acceptance module) (@INC contains: /home/cpansand/.cpan/build/2019102518/Azure-Storage-Blob-Client-0.05-yxdaMI/blib/lib /home/cpansand/.cpan/build/2019102518/Azure-Storage-Blob-Client-0.05-yxdaMI/blib/arch /usr/perl5.20.1Dp/lib/site_perl/5.20.1/amd64-freebsd-ld /usr/perl5.20.1Dp/lib/site_perl/5.20.1 /usr/perl5.20.1Dp/lib/5.20.1/amd64-freebsd-ld /usr/perl5.20.1Dp/lib/5.20.1 .) at t/Azure/Storage/Blob/Client/Call.t line 6.
BEGIN failed--compilation aborted at t/Azure/Storage/Blob/Client/Call.t line 6.
t/Azure/Storage/Blob/Client/Call.t ............
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
Can't locate Test/Spec/Acceptance.pm in @INC (you may need to install the Test::Spec::Acceptance module) (@INC contains: /home/cpansand/.cpan/build/2019102518/Azure-Storage-Blob-Client-0.05-yxdaMI/blib/lib /home/cpansand/.cpan/build/2019102518/Azure-Storage-Blob-Client-0.05-yxdaMI/blib/arch /usr/perl5.20.1Dp/lib/site_perl/5.20.1/amd64-freebsd-ld /usr/perl5.20.1Dp/lib/site_perl/5.20.1 /usr/perl5.20.1Dp/lib/5.20.1/amd64-freebsd-ld /usr/perl5.20.1Dp/lib/5.20.1 .) at t/Azure/Storage/Blob/Client/Caller.t line 6.
BEGIN failed--compilation aborted at t/Azure/Storage/Blob/Client/Caller.t line 6.
t/Azure/Storage/Blob/Client/Caller.t ..........
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
Can't locate Test/Spec/Acceptance.pm in @INC (you may need to install the Test::Spec::Acceptance module) (@INC contains: /home/cpansand/.cpan/build/2019102518/Azure-Storage-Blob-Client-0.05-yxdaMI/blib/lib /home/cpansand/.cpan/build/2019102518/Azure-Storage-Blob-Client-0.05-yxdaMI/blib/arch /usr/perl5.20.1Dp/lib/site_perl/5.20.1/amd64-freebsd-ld /usr/perl5.20.1Dp/lib/site_perl/5.20.1 /usr/perl5.20.1Dp/lib/5.20.1/amd64-freebsd-ld /usr/perl5.20.1Dp/lib/5.20.1 .) at t/Azure/Storage/Blob/Client/Service/Signer.t line 6.
BEGIN failed--compilation aborted at t/Azure/Storage/Blob/Client/Service/Signer.t line 6.
t/Azure/Storage/Blob/Client/Service/Signer.t ..
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
It seems that Test::Spec::Acceptance has to be declared as a dependency.
Also required as a dependency: Test::Exception
And another one: Test::MockTime