Text::Hatena
入れようとしたらテストこけた。
use strict
のクラス名がsysPreProcではなくsysStatement
になってるのがだめぽいが、これはText::VimColorの問題?vim自体?
[MSG] [Thu Sep 14 21:48:15 2006] Writing Makefile for Text::Hatena
[MSG] [Thu Sep 14 21:48:16 2006] make: Warning: File `Makefile' has modification time 0.31 s in the future
Manifying blib/man3/Text::Hatena::AutoLink.3pm
Manifying blib/man3/Text::Hatena.3pm
make: warning: Clock skew detected. Your build may be incomplete.
[ERROR] [Thu Sep 14 21:48:25 2006] MAKE TEST failed: Bad file descriptor PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00_text_hatena................Use of uninitialized value in string eq at /home/typester/.cpanplus/5.8.8/build/Text-Hatena-0.15/blib/lib/Text/Hatena/HTMLFilter.pm line 52, <DATA> line 855.
# Failed test in t/00_text_hatena.t at line 292.
# got: '<div class="section">
# <pre class="hatena-super-pre">
# <span class="synPreProc">#!/usr/bin/perl -w</span>
# <span class="synPreProc">use strict</span>;
#
# <span class="synStatement">my</span> <span class="synIdentifier">$s</span> = <span class="synConstant">"Hello, World!"</span>;
# <span class="synStatement">print</span> <span class="synIdentifier">$s</span>; <span class="synComment"># prints Hello, World!</span>
# </pre>
# </div>'
# expected: '<div class="section">
# <pre class="hatena-super-pre">
# <span class="synPreProc">#!/usr/bin/perl -w</span>
# <span class="synStatement">use strict</span>;
#
# <span class="synStatement">my</span> <span class="synIdentifier">$s</span> = <span class="synConstant">"Hello, World!"</span>;
# <span class="synStatement">print</span> <span class="synIdentifier">$s</span>; <span class="synComment"># prints Hello, World!</span>
# </pre>
# </div>'
# Failed test in t/00_text_hatena.t at line 307.
# got: '<div class="section">
# <pre class="hatena-super-pre">
# <span class="synPreProc">#!/usr/bin/perl -w</span>
# <span class="synPreProc">use strict</span>;
#
# <span class="synStatement">my</span> <span class="synIdentifier">$s</span> = <span class="synConstant">"Hello, World!"</span>;
# <span class="synStatement">print</span> <span class="synIdentifier">$s</span>; <span class="synComment"># prints Hello, World!</span>
# </pre>
# </div>'
# expected: '<div class="section">
# <pre class="hatena-super-pre">
# <span class="synPreProc">#!/usr/bin/perl -w</span>
# <span class="synStatement">use strict</span>;
#
# <span class="synStatement">my</span> <span class="synIdentifier">$s</span> = <span class="synConstant">"Hello, World!"</span>;
# <span class="synStatement">print</span> <span class="synIdentifier">$s</span>; <span class="synComment"># prints Hello, World!</span>
# </pre>
# </div>'
# Looks like you failed 2 tests of 20.
dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 15-16
Failed 2/20 tests, 90.00% okay
t/01_autolink_compile...........ok
t/02_autolink_text..............ok
t/03_autolink_http..............Parsing of undecoded UTF-8 will give garbage when decoding entities at /usr/local/share/perl/5.8.8/LWP/Protocol.pm line 114.
Parsing of undecoded UTF-8 will give garbage when decoding entities at /usr/local/share/perl/5.8.8/LWP/Protocol.pm line 114.
ok
t/04_autolink_ftp...............ok
t/05_autolink_mailto............ok
t/06_autolink_hatenafotolife....ok
t/07_autolink_hatenagroup.......ok
t/08_autolink_asin..............ok
t/09_autolink_hatenadiary.......ok
t/10_autolink_hatenaid..........ok
t/11_autolink_tex...............ok
t/12_autolink_unbracket.........ok
t/13_autolink_hatenaantenna.....ok
t/14_autolink_hatenabookmark....ok
t/15_autolink_hatenarss.........ok
t/16_autolink_hatenaidea........ok
t/17_autolink_hatenaquestion....ok
t/18_autolink_ean...............ok
t/19_autolink_hatenagraph.......ok
t/20_autolink_hatenamap.........ok
t/21_autolink_google............ok
t/22_autolink_hatenasearch......ok
t/23_autolink_amazon............ok
t/24_autolink_rakuten...........ok
t/99_autolink...................Parsing of undecoded UTF-8 will give garbage when decoding entities at /usr/local/share/perl/5.8.8/LWP/Protocol.pm line 114, <DATA> line 855.
Parsing of undecoded UTF-8 will give garbage when decoding entities at /usr/local/share/perl/5.8.8/LWP/Protocol.pm line 114, <DATA> line 855.
ok
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/00_text_hatena.t 2 512 20 2 15-16
Failed 1/26 test scripts. 2/129 subtests failed.
Files=26, Tests=129, 9 wallclock secs ( 3.82 cusr + 1.99 csys = 5.81 CPU)
Use of uninitialized value in pattern match (m//) at /home/typester/.cpanplus/5.8.8/build/Text-Hatena-0.15/blib/lib/Text/Hatena/AutoLink/HTTP.pm line 135, <DATA> line 855.
Failed 1/26 test programs. 2/129 subtests failed.
make: *** [test_dynamic] Error 255
[ERROR] [Thu Sep 14 21:48:25 2006] Unable to create a new distribution object for 'Text::Hatena' -- cannot continue
コミットログに理由を書くこと
とあるjobスクリプトでrsync走らせているところがコメントアウトしてあって(俺がしたんだけど)、理由が思い出せなかったのでログ見たら
$ svk log -r 12450
----------------------------------------------------------------------
r12450 (orig r15165): murase | 2006-06-20 17:55:53 +0900
Commented out rsync job
----------------------------------------------------------------------
なってて、しねーーーーーーーーーと思った。理由重要><
Catalyst::Plugin::RPC
個人的にかなり気に入ってるので、ドキュメントがんばって書いて(死にそう><)CPANにうぷろう。