Subject: | Tests Fail in Git repository |
The tests fail in the git repository of MojoX-Renderer-TT:
[quote]
shlomif@lap:~/Download/unpack/perl/cpan/mojo/MojoX-Renderer-TT/MojoX-Renderer-TT-0.41$
ls
Changes lib/ Makefile.PL MANIFEST.SKIP README
dist.ini LICENSE MANIFEST META.yml t/
shlomif@lap:~/Download/unpack/perl/cpan/mojo/MojoX-Renderer-TT/MojoX-Renderer-TT-0.41$
perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for MojoX::Renderer::TT
shlomif@lap:~/Download/unpack/perl/cpan/mojo/MojoX-Renderer-TT/MojoX-Renderer-TT-0.41$
make test
cp lib/Mojolicious/Plugin/TtRenderer.pm
blib/lib/Mojolicious/Plugin/TtRenderer.pm
cp lib/MojoX/Renderer/TT.pm blib/lib/MojoX/Renderer/TT.pm
PERL_DL_NONLAZY=1 /usr/bin/perl5.10.1 "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-compile.t ............. ok
t/00-load.t ................ 1/1 # Testing MojoX::Renderer::TT 0.41,
Perl 5.010001, /usr/bin/perl5.10.1
t/00-load.t ................ ok
t/lite_app.t ............... 2/25
# Failed test 'exact match for content'
# at t/lite_app.t line 47.
# got: 'test123456'
# expected: 'hello'
# Failed test 'exact match for content'
# at t/lite_app.t line 59.
Wide character in print at
/usr/lib/perl5/vendor_perl/5.10.1/Test/Builder.pm line 1753.
# got: 'привет'
# expected: 'пÑивеÑ'
t/lite_app.t ............... 23/25
# Failed test 'get /inline'
# at t/lite_app.t line 74.
# Failed test '200 OK'
# at t/lite_app.t line 74.
# got: undef
# expected: '200'
# Failed test 'exact match for content'
# at t/lite_app.t line 74.
# got: ''
# expected: '2'
# Looks like you failed 5 tests of 25.
t/lite_app.t ............... Dubious, test returned 5 (wstat 1280, 0x500)
Failed 5/25 subtests
t/pod-coverage.t ........... ok
t/pod.t .................... ok
t/release-dist-manifest.t .. skipped: these tests are for release
candidate testing
t/release-distmeta.t ....... skipped: these tests are for release
candidate testing
t/release-has-version.t .... skipped: these tests are for release
candidate testing
t/release-pod-coverage.t ... skipped: these tests are for release
candidate testing
t/tt_plugin_lite_app.t ..... ok
Test Summary Report
-------------------
t/lite_app.t (Wstat: 1280 Tests: 25 Failed: 5)
Failed tests: 6, 12, 23-25
Non-zero exit status: 5
Files=10, Tests=35, 7 wallclock secs ( 0.07 usr 0.03 sys + 1.52 cusr
0.29 csys = 1.91 CPU)
Result: FAIL
Failed 1/10 test programs. 5/35 subtests failed.
make: *** [test_dynamic] Error 255
shlomif@lap:~/Download/unpack/perl/cpan/mojo/MojoX-Renderer-TT/MojoX-Renderer-TT-0.41$
ack/perl/cpan/mojo/MojoX-Renderer-TT/MojoX-Renderer-TT-0.41$ make test
bash: ack/perl/cpan/mojo/MojoX-Renderer-TT/MojoX-Renderer-TT-0.41$: No
such file or directory
shlomif@lap:~/Download/unpack/perl/cpan/mojo/MojoX-Renderer-TT/MojoX-Renderer-TT-0.41$
cp lib/Mojolicious/Plugin/TtRenderer.pm
blib/lib/Mojolicious/Plugin/TtRenderer.pm
cp: overwrite `blib/lib/Mojolicious/Plugin/TtRenderer.pm'?
[/quote]
Please look into fixing them.
Regards,
-- Shlomi Fish