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

Cannot run tests on perl above 5.26 #8

Open
toddr opened this issue Sep 28, 2018 · 1 comment
Open

Cannot run tests on perl above 5.26 #8

toddr opened this issue Sep 28, 2018 · 1 comment

Comments

@toddr
Copy link

toddr commented Sep 28, 2018

. is no longer in @inc above 5.26

So now when you do make test, you get among other things:

Can't locate t/Data/Localize/Test.pm in @inc

and the test suite fails.

@toddr
Copy link
Author

toddr commented Sep 28, 2018

22:33:50 5443 ERROR [463]: + ./Build test
22:33:50 5443 ERROR [463]: Can't locate t/Data/Localize/Test.pm in @INC (you may need to install the t::Data::Localize::Test module) (@INC contains: /home/rpmbuild/rpm-build/BUILD/Data-Localize-0.00027/blib/lib /home/rpmbuild/rpm-build/BUILD/Data-Localize-0.00027/blib/arch /home/rpmbuild/rpm-build/BUILD/Data-Localize-0.00027/_build/lib /usr/local/cpanel /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib /usr/local/cpanel/3rdparty/perl/528/lib/perl5/5.28.0/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/528/lib/perl5/5.28.0 /opt/cpanel/perl5/528/site_lib/x86_64-linux-64int /opt/cpanel/perl5/528/site_lib) at t/01_basic.t line 3.
22:33:50 5443 ERROR [463]: BEGIN failed--compilation aborted at t/01_basic.t line 3.
22:33:50 5443 ERROR [463]: t/01_basic.t .............. 
22:33:50 5443 ERROR [463]: Dubious, test returned 2 (wstat 512, 0x200)
22:33:50 5443 ERROR [463]: No subtests run 
22:33:50 5443 ERROR [463]: Can't locate t/Data/Localize/Test.pm in @INC (you may need to install the t::Data::Localize::Test module) (@INC contains: /home/rpmbuild/rpm-build/BUILD/Data-Localize-0.00027/blib/lib /home/rpmbuild/rpm-build/BUILD/Data-Localize-0.00027/blib/arch /home/rpmbuild/rpm-build/BUILD/Data-Localize-0.00027/_build/lib /usr/local/cpanel /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib /usr/local/cpanel/3rdparty/perl/528/lib/perl5/5.28.0/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/528/lib/perl5/5.28.0 /opt/cpanel/perl5/528/site_lib/x86_64-linux-64int /opt/cpanel/perl5/528/site_lib) at t/02_namespace.t line 4.
22:33:50 5443 ERROR [463]: BEGIN failed--compilation aborted at t/02_namespace.t line 4.
22:33:50 5443 ERROR [463]: # Looks like your test exited with 2 before it could output anything.
22:33:50 5443 ERROR [463]: t/02_namespace.t .......... 
22:33:50 5443 ERROR [463]: Dubious, test returned 2 (wstat 512, 0x200)
22:33:50 5443 ERROR [463]: Failed 6/6 subtests 
22:33:50 5443 ERROR [463]: Can't locate t/Data/Localize/Test.pm in @INC (you may need to install the t::Data::Localize::Test module) (@INC contains: /home/rpmbuild/rpm-build/BUILD/Data-Localize-0.00027/blib/lib /home/rpmbuild/rpm-build/BUILD/Data-Localize-0.00027/blib/arch /home/rpmbuild/rpm-build/BUILD/Data-Localize-0.00027/_build/lib /usr/local/cpanel /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib /usr/local/cpanel/3rdparty/perl/528/lib/perl5/5.28.0/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/528/lib/perl5/5.28.0 /opt/cpanel/perl5/528/site_lib/x86_64-linux-64int /opt/cpanel/perl5/528/site_lib) at t/03_auto.t line 3.
22:33:50 5443 ERROR [463]: BEGIN failed--compilation aborted at t/03_auto.t line 3.
22:33:50 5443 ERROR [463]: # Looks like your test exited with 2 before it could output anything.
22:33:50 5443 ERROR [463]: t/03_auto.t ............... 
22:33:50 5443 ERROR [463]: Dubious, test returned 2 (wstat 512, 0x200)
22:33:50 5443 ERROR [463]: Failed 4/4 subtests 
22:33:50 5443 ERROR [463]: Can't locate t/Data/Localize/Test.pm in @INC (you may need to install the t::Data::Localize::Test module) (@INC contains: /home/rpmbuild/rpm-build/BUILD/Data-Localize-0.00027/blib/lib /home/rpmbuild/rpm-build/BUILD/Data-Localize-0.00027/blib/arch /home/rpmbuild/rpm-build/BUILD/Data-Localize-0.00027/_build/lib /usr/local/cpanel /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib /usr/local/cpanel/3rdparty/perl/528/lib/perl5/5.28.0/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/528/lib/perl5/5.28.0 /opt/cpanel/perl5/528/site_lib/x86_64-linux-64int /opt/cpanel/perl5/528/site_lib) at t/04_gettext.t line 6.
22:33:50 5443 ERROR [463]: BEGIN failed--compilation aborted at t/04_gettext.t line 6.
22:33:50 5443 ERROR [463]: # Looks like your test exited with 2 before it could output anything.
22:33:50 5443 ERROR [463]: t/04_gettext.t ............ 
22:33:50 5443 ERROR [463]: Dubious, test returned 2 (wstat 512, 0x200)
22:33:50 5443 ERROR [463]: Failed 12/12 subtests 
22:33:50 5443 ERROR [463]: t/05_maketext.t ........... ok
22:33:50 5443 ERROR [463]: t/06_bdb.t ................ skipped: test requires BerkeleyDB
22:33:50 5443 ERROR [463]: Can't locate t/Data/Localize/Test.pm in @INC (you may need to install the t::Data::Localize::Test module) (@INC contains: /home/rpmbuild/rpm-build/BUILD/Data-Localize-0.00027/blib/lib /home/rpmbuild/rpm-build/BUILD/Data-Localize-0.00027/blib/arch /home/rpmbuild/rpm-build/BUILD/Data-Localize-0.00027/_build/lib /usr/local/cpanel /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/528/lib/perl5/cpanel_lib /usr/local/cpanel/3rdparty/perl/528/lib/perl5/5.28.0/x86_64-linux-64int /usr/local/cpanel/3rdparty/perl/528/lib/perl5/5.28.0 /opt/cpanel/perl5/528/site_lib/x86_64-linux-64int /opt/cpanel/perl5/528/site_lib) at t/07_gettext_parser.t line 3.
22:33:50 5443 ERROR [463]: BEGIN failed--compilation aborted at t/07_gettext_parser.t line 3.
22:33:50 5443 ERROR [463]: t/07_gettext_parser.t ..... 
22:33:50 5443 ERROR [463]: Dubious, test returned 2 (wstat 512, 0x200)
22:33:50 5443 ERROR [463]: No subtests run 
22:33:50 5443 ERROR [463]: t/08_multilevel.t ......... skipped: Test requires YAML::XS
22:33:50 5443 ERROR [463]: t/09_load_from_storage.t .. skipped: test requires Config::Any, YAML::XS and BerkeleyDB
22:33:50 5443 ERROR [463]: t/90_formfu.t ............. skipped: This test requires HTML::FormFu
22:33:50 5443 ERROR [463]: t/99_bad_usage.t .......... ok
22:33:50 5443 ERROR [463]: 
22:33:50 5443 ERROR [463]: Test Summary Report
22:33:50 5443 ERROR [463]: -------------------
22:33:50 5443 ERROR [463]: t/01_basic.t            (Wstat: 512 Tests: 0 Failed: 0)
22:33:50 5443 ERROR [463]:   Non-zero exit status: 2
22:33:50 5443 ERROR [463]:   Parse errors: No plan found in TAP output
22:33:50 5443 ERROR [463]: t/02_namespace.t        (Wstat: 512 Tests: 0 Failed: 0)
22:33:50 5443 ERROR [463]:   Non-zero exit status: 2
22:33:50 5443 ERROR [463]:   Parse errors: Bad plan.  You planned 6 tests but ran 0.
22:33:50 5443 ERROR [463]: t/03_auto.t             (Wstat: 512 Tests: 0 Failed: 0)
22:33:50 5443 ERROR [463]:   Non-zero exit status: 2
22:33:50 5443 ERROR [463]:   Parse errors: Bad plan.  You planned 4 tests but ran 0.
22:33:50 5443 ERROR [463]: t/04_gettext.t          (Wstat: 512 Tests: 0 Failed: 0)
22:33:50 5443 ERROR [463]:   Non-zero exit status: 2
22:33:50 5443 ERROR [463]:   Parse errors: Bad plan.  You planned 12 tests but ran 0.
22:33:50 5443 ERROR [463]: t/07_gettext_parser.t   (Wstat: 512 Tests: 0 Failed: 0)
22:33:50 5443 ERROR [463]:   Non-zero exit status: 2
22:33:50 5443 ERROR [463]:   Parse errors: No plan found in TAP output
22:33:50 5443 ERROR [463]: Files=11, Tests=3,  0 wallclock secs ( 0.05 usr  0.02 sys +  0.53 cusr  0.05 csys =  0.65 CPU)
22:33:50 5443 ERROR [463]: Result: FAIL
22:33:50 5443 ERROR [463]: Failed 5/11 test programs. 0/3 subtests failed.
22:33:50 5443 ERROR [463]: error: Bad exit status from /var/tmp/rpm-tmp.BSGV7Q (%check)

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

1 participant