Subject: | Problem in distribution test |
Date: | Mon, 12 Jan 2015 13:28:24 +0100 |
To: | bug-Dist-Zilla-Plugin-Run [...] rt.cpan.org |
From: | Hayo Baan – Photography <info [...] hayobaan.nl> |
Hello maintainer of Dist::Zilla::Plugin::Run,
When installing the plugin using e.g., cpan or cpanm, the installation
fails due to a problem in the test script 30_all_phases.t. The problem
is that the produced output has the perl version number attached,
whereas the expected output doesn't. I looked at the test code and
couldn't see an obvious reason for the failure other than that the code
that expands the %x variable uses an incorrect way to determine the perl
executable.
Hopefully it can be fixed easily, but if you need help
debugging/testing, please let me know :-)
Here's the relevant piece of output in the build log:
# Failed test 'got expected output for all five phases'
# at t/30_all_phases.t line 55.
# got: 'before_build 0.001 DZT-Sample 0.001 ... /usr/bin/perl5.16
# after_build DZT-Sample 0.001
/Users/xxxx/.cpanm/work/1421064432.16882/Dist-Zilla-Plugin-Run-0.030/tmp/5zk2ceYMcv/build
/Users/xxxx/.cpanm/work/1421064432.16882/Dist-Zilla-Plugin-Run-0.030/tmp/5zk2ceYMcv/build
0.001 0.001 .. /usr/bin/perl5.16
# before_release DZT-Sample -d
/Users/xxxx/.cpanm/work/1421064432.16882/Dist-Zilla-Plugin-Run-0.030/tmp/5zk2ceYMcv/build
DZT-Sample-0.001.tar.gz -v 0.001 .DZT-Sample-0.001.tar.gz. /usr/bin/perl5.16
# release DZT-Sample-0.001.tar.gz DZT-Sample 0.001
/Users/xxxx/.cpanm/work/1421064432.16882/Dist-Zilla-Plugin-Run-0.030/tmp/5zk2ceYMcv/build/a
/Users/xxxx/.cpanm/work/1421064432.16882/Dist-Zilla-Plugin-Run-0.030/tmp/5zk2ceYMcv/build/b
DZT-Sample-0.001.tar.gz /usr/bin/perl5.16
# after_release
/Users/xxxx/.cpanm/work/1421064432.16882/Dist-Zilla-Plugin-Run-0.030/tmp/5zk2ceYMcv/build
0.001 DZT-Sample-0.001.tar.gz 0.001 DZT-Sample DZT-Sample-0.001.tar.gz
/usr/bin/perl5.16
# '
# expected: 'before_build 0.001 DZT-Sample 0.001 ... /usr/bin/perl
# after_build DZT-Sample 0.001
/Users/xxxx/.cpanm/work/1421064432.16882/Dist-Zilla-Plugin-Run-0.030/tmp/5zk2ceYMcv/build
/Users/xxxx/.cpanm/work/1421064432.16882/Dist-Zilla-Plugin-Run-0.030/tmp/5zk2ceYMcv/build
0.001 0.001 .. /usr/bin/perl
# before_release DZT-Sample -d
/Users/xxxx/.cpanm/work/1421064432.16882/Dist-Zilla-Plugin-Run-0.030/tmp/5zk2ceYMcv/build
DZT-Sample-0.001.tar.gz -v 0.001 .DZT-Sample-0.001.tar.gz. /usr/bin/perl
# release DZT-Sample-0.001.tar.gz DZT-Sample 0.001
/Users/xxxx/.cpanm/work/1421064432.16882/Dist-Zilla-Plugin-Run-0.030/tmp/5zk2ceYMcv/build/a
/Users/xxxx/.cpanm/work/1421064432.16882/Dist-Zilla-Plugin-Run-0.030/tmp/5zk2ceYMcv/build/b
DZT-Sample-0.001.tar.gz /usr/bin/perl
# after_release
/Users/xxxx/.cpanm/work/1421064432.16882/Dist-Zilla-Plugin-Run-0.030/tmp/5zk2ceYMcv/build
0.001 DZT-Sample-0.001.tar.gz 0.001 DZT-Sample DZT-Sample-0.001.tar.gz
/usr/bin/perl
# '
Thanks,
Hayo
--
Hayo Baan – Photography
info@hayobaan.nl <mailto:info@hayobaan.nl>
www.hayobaan.nl <http://www.hayobaan.nl>
Hayo Baan – Photography <http://www.hayobaan.nl>
LinkedIn <http://nl.linkedin.com/pub/hayo-baan/0/508/883> Facebook
<http://facebook.com/HayoBaan> Twitter
<http://twitter.com/#%21/HayoBaan> 500px <http://500px.com/HayoBaan>
Blog <http://blog.hayobaan.nl>