Skip Menu |

This queue is for tickets about the Syntax-Highlight-Engine-Kate CPAN distribution.

Report information
The Basics
Id: 31123
Status: resolved
Priority: 0/
Queue: Syntax-Highlight-Engine-Kate

People
Owner: HANJE [...] cpan.org
Requestors: ANDK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.02
Fixed in: 0.04



Subject: 16 MB warnings from make test
This is with perl 5.8.7. Similar results have been observed with 5.8.8 and 5.10.0. Has this always been that way? $ make test >& test.out $ ls -l test.out -rw-rw-r-- 1 sand sand 16178255 2007-12-01 10:42 test.out $ sort test.out | uniq -c | sort -nr| head 8477 at /home/sand/.cpan/build/Syntax-Highlight-Engine-Kate-0.02-y0ZpZX/blib/lib/Syntax/Highlight/Engine/Kate/Template.pm line 426 8476 target is an empty string 8476 Language => Ruby, Context => indented_heredoc 4239 eval '$res = $m->highlightText($txt) 4239 ;' called at t/Kate.t line 203 4238 Syntax::Highlight::Engine::Kate::Template::testRegExpr('Syntax::Highlight::Engine::Kate::Ruby=HASH(0x936cc10)', 'SCALAR(0x8294c60)', '%1$', 0, 1, 0, 'undef', 1, '#pop#pop', ...) called at /home/sand/.cpan/build/Syntax-Highlight-Engine-Kate-0.02-y0ZpZX/blib/lib/Syntax/Highlight/Engine/Kate/Ruby.pm line 2067 4238 Syntax::Highlight::Engine::Kate::Template::testRegExpr('Syntax::Highlight::Engine::Kate::Ruby=HASH(0x925a6f4)', 'SCALAR(0x8294c60)', '%1$', 0, 1, 0, 'undef', 1, '#pop#pop', ...) called at /home/sand/.cpan/build/Syntax-Highlight-Engine-Kate-0.02-y0ZpZX/blib/lib/Syntax/Highlight/Engine/Kate/Ruby.pm line 2067 4238 Syntax::Highlight::Engine::Kate::Template::logwarning('Syntax::Highlight::Engine::Kate::Ruby=HASH(0x936cc10)', 'target is an empty string') called at /home/sand/.cpan/build/Syntax-Highlight-Engine-Kate-0.02-y0ZpZX/blib/lib/Syntax/Highlight/Engine/Kate/Template.pm line 124 4238 Syntax::Highlight::Engine::Kate::Template::logwarning('Syntax::Highlight::Engine::Kate::Ruby=HASH(0x925a6f4)', 'target is an empty string') called at /home/sand/.cpan/build/Syntax-Highlight-Engine-Kate-0.02-y0ZpZX/blib/lib/Syntax/Highlight/Engine/Kate/Template.pm line 124 4238 Syntax::Highlight::Engine::Kate::Template::highlightText('Syntax::Highlight::Engine::Kate::Ruby=HASH(0x925a6f4)', '# This file is a testcase for the highlighting of Ruby code\x{a}#...') called at (eval 13229) line 1 Please let me know if you need additional infos. Thanks,
A one line patch to get rid of nearly all these warnings during 'make test' is now in my CPAN directory as ANDK/patches/Syntax-Highlight-Engine-Kate-0.02-ANDK-01.patch.gz I have not tried to understand the issues involved, I just needed a less noisy 'make test'.