Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

. removed from @INC #5

Closed
eserte opened this issue May 13, 2017 · 2 comments
Closed

. removed from @INC #5

eserte opened this issue May 13, 2017 · 2 comments

Comments

@eserte
Copy link

eserte commented May 13, 2017

In perl 5.26 the dot is not anymore in @INC. This is causing the test suite to fail:

Can't locate t/Util.pm in @INC (you may need to install the t::Util module) (@INC contains: /home/cpansand/.cpan/build/2017051306/App-Prove-Plugin-MySQLPool-0.06-0/blib/arch /home/cpansand/.cpan/build/2017051306/App-Prove-Plugin-MySQLPool-0.06-0/blib/lib /opt/perl-5.26.0-RC1/lib/site_perl/5.26.0/x86_64-linux /opt/perl-5.26.0-RC1/lib/site_perl/5.26.0 /opt/perl-5.26.0-RC1/lib/5.26.0/x86_64-linux /opt/perl-5.26.0-RC1/lib/5.26.0) at t/01_env_dsn.t line 7.
BEGIN failed--compilation aborted at t/01_env_dsn.t line 7.
t/01_env_dsn.t .. 
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run 
Can't locate t/Util.pm in @INC (you may need to install the t::Util module) (@INC contains: /home/cpansand/.cpan/build/2017051306/App-Prove-Plugin-MySQLPool-0.06-0/blib/arch /home/cpansand/.cpan/build/2017051306/App-Prove-Plugin-MySQLPool-0.06-0/blib/lib /opt/perl-5.26.0-RC1/lib/site_perl/5.26.0/x86_64-linux /opt/perl-5.26.0-RC1/lib/site_perl/5.26.0 /opt/perl-5.26.0-RC1/lib/5.26.0/x86_64-linux /opt/perl-5.26.0-RC1/lib/5.26.0) at t/02_prepare.t line 8.
BEGIN failed--compilation aborted at t/02_prepare.t line 8.
t/02_prepare.t .. 
Dubious, test returned 2 (wstat 512, 0x200)
No subtests run 

A possible fix is to add something like use lib "."; on top of the failing scripts.

@mackee mackee closed this as completed in c609b53 May 13, 2017
mackee added a commit that referenced this issue May 13, 2017
Fix #5. In perl 5.26 the dot is not anymore in `@INC`
@mackee
Copy link
Owner

mackee commented May 13, 2017

@eserte Thanks your report. fixed it by #6. I release 0.07 to CPAN. This version contain fixed this problem.

@eserte
Copy link
Author

eserte commented May 13, 2017

Confirmed, the fix works with perl 5.26.0-RC1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants