carloslima / dist-zilla-plugin-changesfromyaml

0 stars 2 forks source link

Test suite fails (with CPAN::Changes 0.400001?) #2

Closed eserte closed 8 years ago

eserte commented 9 years ago

The test suite may fail, probably if the newest CPAN::Changes 0.400001 is installed:

Test Summary Report
-------------------
t/01basic.t                 (Wstat: 256 Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
t/02dateformat.t            (Wstat: 256 Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
Files=10, Tests=5,  3 wallclock secs ( 0.03 usr  0.04 sys +  2.65 cusr  0.40 csys =  3.12 CPU)
Result: FAIL
Failed 2/10 test programs. 2/5 subtests failed.
make: *** [test_dynamic] Fehler 255
pdl commented 9 years ago

Also fails with 0.400002:

# Generated by Dist::Zilla::Plugin::ReportVersions::Tiny v1.10
# perl: 5.020002 (wanted 5.010) on linux from /home/d/perl5/perlbrew/perls/perl-5.20.2/bin/perl
# 
# CPAN::Changes                                 => 0.400002   (want any version)
# Carp                                          => 1.3301     (want any version)
# DateTime::Format::CLDR                        => 1.15       (want any version)
# Dist::Zilla::Role::FileMunger                 => 5.037      (want any version)
# Exporter                                      => 5.71       (want any version)
# ExtUtils::MakeMaker                           => 7.04       (want 6.30)   
# File::Spec                                    => 3.48_01    (want any version)
# File::Temp                                    => 0.2304     (want any version)
# IO::Handle                                    => 1.35       (want any version)
# IPC::Open3                                    => 1.16       (want any version)
# Moose                                         => 2.1403     (want any version)
# Test::DZil                                    => 5.037      (want any version)
# Test::More                                    => 1.001014   (want 0.88)   
# YAML::XS                                      => 0.59       (want any version)
# namespace::autoclean                          => 0.26       (want any version)
# strict                                        => 1.08       (want any version)
# warnings                                      => 1.23       (want any version)
# 
# Thanks for using my code.  I hope it works for you.
# If not, please try and include this output in the bug report.
# That will help me reproduce the issue and solve your problem.
# 
t/000-report-versions-tiny.t .. ok

#   Failed test 'Changes got converted correctly'
#   at t/01basic.t line 12.
#          got: '0.37 Fri Oct 25 21:46:59 MYT 2013
#  - Bugfix: Run Test::Compile tests as xt as they require optional
#    dependencies to be present (GH issue #22)
#  - Testing: Added Travis-CI integration
#  - Makefile: Added target to update version on all packages
# 
# 0.36 Sun Oct 20 04:44:42 MYT 2013
#  - Move the distribution to Dist::Zilla
# 
# 0.35 Mon May 27 14:23:42 PDT 2013
#  - Forgot to merge doc changes from CarlosLima++
# '
#     expected: '0.37 Fri Oct 25 21:46:59 MYT 2013
#  - Bugfix: Run Test::Compile tests as xt as they require optional
#    dependencies to be present (GH issue #22)
#  - Testing: Added Travis-CI integration
#  - Makefile: Added target to update version on all packages
# 
# 0.36 Sun Oct 20 04:44:42 MYT 2013
#  - Move the distribution to Dist::Zilla
# 
# 0.35 Mon May 27 14:23:42 PDT 2013
#  - Forgot to merge doc changes from CarlosLima++
# 
# '
# Looks like you failed 1 test of 1.
t/01basic.t ................... 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests 

#   Failed test 'Changes got converted correctly'
#   at t/02dateformat.t line 13.
#          got: '0.37 2013-10-25 21:46:59 +0800
#  - Bugfix: Run Test::Compile tests as xt as they require optional
#    dependencies to be present (GH issue #22)
#  - Testing: Added Travis-CI integration
#  - Makefile: Added target to update version on all packages
# 
# 0.36 2013-10-20 04:44:42 +0800
#  - Move the distribution to Dist::Zilla
# 
# 0.35 2013-05-27 14:23:42 -0700
#  - Forgot to merge doc changes from CarlosLima++
# '
#     expected: '0.37 2013-10-25 21:46:59 +0800
#  - Bugfix: Run Test::Compile tests as xt as they require optional
#    dependencies to be present (GH issue #22)
#  - Testing: Added Travis-CI integration
#  - Makefile: Added target to update version on all packages
# 
# 0.36 2013-10-20 04:44:42 +0800
#  - Move the distribution to Dist::Zilla
# 
# 0.35 2013-05-27 14:23:42 -0700
#  - Forgot to merge doc changes from CarlosLima++
# 
# '
# Looks like you failed 1 test of 1.
t/02dateformat.t .............. 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests 
t/author-pod-spell.t .......... skipped: these tests are for testing by the author
t/release-distmeta.t .......... skipped: these tests are for release candidate testing
t/release-eol.t ............... skipped: these tests are for release candidate testing
t/release-no-tabs.t ........... skipped: these tests are for release candidate testing
t/release-pod-syntax.t ........ skipped: these tests are for release candidate testing
t/release-test-version.t ...... skipped: these tests are for release candidate testing

Test Summary Report
-------------------
t/01basic.t                 (Wstat: 256 Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
t/02dateformat.t            (Wstat: 256 Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
Files=10, Tests=5,  3 wallclock secs ( 0.02 usr  0.01 sys +  2.38 cusr  0.10 csys =  2.51 CPU)
Result: FAIL
Failed 2/10 test programs. 2/5 subtests failed.
Makefile:868: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 255
perlpunk commented 8 years ago

I created a pull request for this: #3

carloslima commented 8 years ago

Thank you!! :-)

Also thanks for showing me that I was handling utf8 on the yaml badly :)