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

Test suite failures with perl 5.18 #6

Closed
pghmcfc opened this issue Aug 17, 2013 · 3 comments
Closed

Test suite failures with perl 5.18 #6

pghmcfc opened this issue Aug 17, 2013 · 3 comments
Labels

Comments

@pghmcfc
Copy link

pghmcfc commented Aug 17, 2013

I get these test failures with 2.29 on Perl 5.18.1 (probably the same on 5.18.0). Test suite passes cleanly on 5.16.3.

$ ./Build test
given is experimental at blib/lib/ParseUtil/Domain.pm line 59.
when is experimental at blib/lib/ParseUtil/Domain.pm line 60.
t/parse_ascii.t ............... ok
given is experimental at /builddir/build/BUILD/ParseUtil-Domain-2.29/blib/lib/ParseUtil/Domain.pm line 59.
when is experimental at /builddir/build/BUILD/ParseUtil-Domain-2.29/blib/lib/ParseUtil/Domain.pm line 60.

        #   Failed test 'No problems parsing domain'
        #   at t/lib/ToggleTester.pm line 30.
        # died: utf8 "\xDF" does not map to Unicode at /builddir/build/BUILD/ParseUtil-Domain-2.29/blib/lib/ParseUtil/Domain.pm line 23.

        #   Failed test 'No problems parsing domain'
        #   at t/lib/ToggleTester.pm line 30.
        # died: utf8 "\xDF" does not map to Unicode at /builddir/build/BUILD/ParseUtil-Domain-2.29/blib/lib/ParseUtil/Domain.pm line 23.
        # Looks like you failed 2 tests of 3.

    #   Failed test 'Toggle unicode <-> ascii domains'
    #   at /usr/share/perl5/vendor_perl/Test/Routine/Common.pm line 17.
    # Looks like you failed 1 test of 2.
#   Failed test 'Test toggle between unicode and puny-encoded ascii'
#   at /usr/share/perl5/vendor_perl/Test/Routine/Runner.pm line 98.
# Looks like you failed 1 test of 2.
t/parse_ascii_test_routine.t .. 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/2 subtests 
given is experimental at blib/lib/ParseUtil/Domain.pm line 59.
when is experimental at blib/lib/ParseUtil/Domain.pm line 60.
#   Failed test 't020_split_unicode_domain_tld died (Can't call method "split" on an undefined value at blib/lib/ParseUtil/Domain.pm line 25.)'
#   at t/parse_idn.t line 9.
#   (in ParseDomain->t020_split_unicode_domain_tld)
# Looks like you failed 1 test of 24.
t/parse_idn.t ................. 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/24 subtests 
    (less 23 skipped subtests: 0 okay)
t/perlcritic.t ................ skipped: Author test. Set $ENV{TEST_AUTHOR} to a true value to run.
given is experimental at blib/lib/ParseUtil/Domain.pm line 59.
when is experimental at blib/lib/ParseUtil/Domain.pm line 60.
t/public_suffix_test.t ........ ok
given is experimental at blib/lib/ParseUtil/Domain.pm line 59.
when is experimental at blib/lib/ParseUtil/Domain.pm line 60.
t/undefined_mapping.t ......... ok
Test Summary Report
-------------------
t/parse_ascii_test_routine.t (Wstat: 256 Tests: 2 Failed: 1)
  Failed test:  2
  Non-zero exit status: 1
t/parse_idn.t               (Wstat: 256 Tests: 24 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
Files=6, Tests=108,  3 wallclock secs ( 0.04 usr  0.01 sys +  3.38 cusr  0.15 csys =  3.58 CPU)
Result: FAIL
Failed 2/6 test programs. 2/108 subtests failed.
@heytrav
Copy link
Owner

heytrav commented Aug 18, 2013

Hi,

Thanks for the heads-up. Looks like there have been some changes to unicode that I have to read up on.

@heytrav
Copy link
Owner

heytrav commented Aug 18, 2013

I just pushed up 2.30. The build with Perl 5.18.1 seemed to work for me now. I've added 5.16 and 5.18 to the Travis-CI now as well so I should catch that in the future.

@pghmcfc
Copy link
Author

pghmcfc commented Aug 18, 2013

Works for me too, thanks.

@pghmcfc pghmcfc closed this as completed Aug 18, 2013
@heytrav heytrav added the bug label Mar 31, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants