Subject: | Confusing warnings when doing "make test" |
Hi Mark,
as I said, I test every module before importing it into pkgsrc.
I got some confusing messages while testing Template::Plugin::ListUtil:
PERL_DL_NONLAZY=1 /usr/pkg/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01basic.t .... Name "FindBin::Bin" used only once: possible typo at
t/01basic.t line 105.
Use of uninitialized value $_[0] in join or string at
/usr/pkg/lib/perl5/vendor_perl/5.10.0/x86_64-freebsd-thread-multi/File/Spec/Unix.pm
line 86.
Argument "E0" isn't numeric in subroutine entry at
/usr/pkgsrc/devel/p5-Template-Plugin-ListUtil/work/Template-Plugin-ListUtil-0.02/blib/lib/Template/Plugin/ListUtil.pm
line 69.
t/01basic.t .... 1/54 Use of uninitialized value $_[0] in join or string
at
/usr/pkg/lib/perl5/vendor_perl/5.10.0/x86_64-freebsd-thread-multi/File/Spec/Unix.pm
line 86.
Argument "E0" isn't numeric in subroutine entry at
/usr/pkgsrc/devel/p5-Template-Plugin-ListUtil/work/Template-Plugin-ListUtil-0.02/blib/lib/Template/Plugin/ListUtil.pm
line 85.
Use of uninitialized value $_[0] in join or string at
/usr/pkg/lib/perl5/vendor_perl/5.10.0/x86_64-freebsd-thread-multi/File/Spec/Unix.pm
line 86.
Use of uninitialized value $_[0] in join or string at
/usr/pkg/lib/perl5/vendor_perl/5.10.0/x86_64-freebsd-thread-multi/File/Spec/Unix.pm
line 86.
Use of uninitialized value $_[0] in join or string at
/usr/pkg/lib/perl5/vendor_perl/5.10.0/x86_64-freebsd-thread-multi/File/Spec/Unix.pm
line 86.
Argument "E0" isn't numeric in addition (+) at
/usr/pkgsrc/devel/p5-Template-Plugin-ListUtil/work/Template-Plugin-ListUtil-0.02/blib/lib/Template/Plugin/ListUtil.pm
line 107.
Use of uninitialized value $_[0] in join or string at
/usr/pkg/lib/perl5/vendor_perl/5.10.0/x86_64-freebsd-thread-multi/File/Spec/Unix.pm
line 86.
Argument "E0" isn't numeric in addition (+) at
/usr/pkgsrc/devel/p5-Template-Plugin-ListUtil/work/Template-Plugin-ListUtil-0.02/blib/lib/Template/Plugin/ListUtil.pm
line 107.
Use of uninitialized value $_[0] in join or string at
/usr/pkg/lib/perl5/vendor_perl/5.10.0/x86_64-freebsd-thread-multi/File/Spec/Unix.pm
line 86.
Use of uninitialized value $_[0] in join or string at
/usr/pkg/lib/perl5/vendor_perl/5.10.0/x86_64-freebsd-thread-multi/File/Spec/Unix.pm
line 86.
Use of uninitialized value $_[0] in join or string at
/usr/pkg/lib/perl5/vendor_perl/5.10.0/x86_64-freebsd-thread-multi/File/Spec/Unix.pm
line 86.
Use of uninitialized value $_[0] in join or string at
/usr/pkg/lib/perl5/vendor_perl/5.10.0/x86_64-freebsd-thread-multi/File/Spec/Unix.pm
line 86.
Use of uninitialized value $_[0] in join or string at
/usr/pkg/lib/perl5/vendor_perl/5.10.0/x86_64-freebsd-thread-multi/File/Spec/Unix.pm
line 86.
Use of uninitialized value $_[0] in join or string at
/usr/pkg/lib/perl5/vendor_perl/5.10.0/x86_64-freebsd-thread-multi/File/Spec/Unix.pm
line 86.
Use of uninitialized value $_[0] in join or string at
/usr/pkg/lib/perl5/vendor_perl/5.10.0/x86_64-freebsd-thread-multi/File/Spec/Unix.pm
line 86.
Use of uninitialized value $_[0] in join or string at
/usr/pkg/lib/perl5/vendor_perl/5.10.0/x86_64-freebsd-thread-multi/File/Spec/Unix.pm
line 86.
Use of uninitialized value $_[0] in join or string at
/usr/pkg/lib/perl5/vendor_perl/5.10.0/x86_64-freebsd-thread-multi/File/Spec/Unix.pm
line 86.
Use of uninitialized value $_[0] in join or string at
/usr/pkg/lib/perl5/vendor_perl/5.10.0/x86_64-freebsd-thread-multi/File/Spec/Unix.pm
line 86.
Use of uninitialized value $_[0] in join or string at
/usr/pkg/lib/perl5/vendor_perl/5.10.0/x86_64-freebsd-thread-multi/File/Spec/Unix.pm
line 86.
Use of uninitialized value $_[0] in join or string at
/usr/pkg/lib/perl5/vendor_perl/5.10.0/x86_64-freebsd-thread-multi/File/Spec/Unix.pm
line 86.
Use of uninitialized value $_[0] in join or string at
/usr/pkg/lib/perl5/vendor_perl/5.10.0/x86_64-freebsd-thread-multi/File/Spec/Unix.pm
line 86.
Use of uninitialized value $_[0] in join or string at
/usr/pkg/lib/perl5/vendor_perl/5.10.0/x86_64-freebsd-thread-multi/File/Spec/Unix.pm
line 86.
Use of uninitialized value $_[0] in join or string at
/usr/pkg/lib/perl5/vendor_perl/5.10.0/x86_64-freebsd-thread-multi/File/Spec/Unix.pm
line 86.
Use of uninitialized value $_[0] in join or string at
/usr/pkg/lib/perl5/vendor_perl/5.10.0/x86_64-freebsd-thread-multi/File/Spec/Unix.pm
line 86.
Use of uninitialized value $_[0] in join or string at
/usr/pkg/lib/perl5/vendor_perl/5.10.0/x86_64-freebsd-thread-multi/File/Spec/Unix.pm
line 86.
Use of uninitialized value $_[0] in join or string at
/usr/pkg/lib/perl5/vendor_perl/5.10.0/x86_64-freebsd-thread-multi/File/Spec/Unix.pm
line 86.
Use of uninitialized value $_[0] in join or string at
/usr/pkg/lib/perl5/vendor_perl/5.10.0/x86_64-freebsd-thread-multi/File/Spec/Unix.pm
line 86.
Use of uninitialized value $_[0] in join or string at
/usr/pkg/lib/perl5/vendor_perl/5.10.0/x86_64-freebsd-thread-multi/File/Spec/Unix.pm
line 86.
Use of uninitialized value $_[0] in join or string at
/usr/pkg/lib/perl5/vendor_perl/5.10.0/x86_64-freebsd-thread-multi/File/Spec/Unix.pm
line 86.
Use of uninitialized value $_[0] in join or string at
/usr/pkg/lib/perl5/vendor_perl/5.10.0/x86_64-freebsd-thread-multi/File/Spec/Unix.pm
line 86.
Use of uninitialized value $_[0] in join or string at
/usr/pkg/lib/perl5/vendor_perl/5.10.0/x86_64-freebsd-thread-multi/File/Spec/Unix.pm
line 86.
Use of uninitialized value $_[0] in join or string at
/usr/pkg/lib/perl5/vendor_perl/5.10.0/x86_64-freebsd-thread-multi/File/Spec/Unix.pm
line 86.
Use of uninitialized value $_[0] in join or string at
/usr/pkg/lib/perl5/vendor_perl/5.10.0/x86_64-freebsd-thread-multi/File/Spec/Unix.pm
line 86.
Use of uninitialized value $_[0] in join or string at
/usr/pkg/lib/perl5/vendor_perl/5.10.0/x86_64-freebsd-thread-multi/File/Spec/Unix.pm
line 86.
Use of uninitialized value $_[0] in join or string at
/usr/pkg/lib/perl5/vendor_perl/5.10.0/x86_64-freebsd-thread-multi/File/Spec/Unix.pm
line 86.
Use of uninitialized value $_[0] in join or string at
/usr/pkg/lib/perl5/vendor_perl/5.10.0/x86_64-freebsd-thread-multi/File/Spec/Unix.pm
line 86.
Use of uninitialized value $_[0] in join or string at
/usr/pkg/lib/perl5/vendor_perl/5.10.0/x86_64-freebsd-thread-multi/File/Spec/Unix.pm
line 86.
Use of uninitialized value $_[0] in join or string at
/usr/pkg/lib/perl5/vendor_perl/5.10.0/x86_64-freebsd-thread-multi/File/Spec/Unix.pm
line 86.
Use of uninitialized value $_[0] in join or string at
/usr/pkg/lib/perl5/vendor_perl/5.10.0/x86_64-freebsd-thread-multi/File/Spec/Unix.pm
line 86.
Use of uninitialized value $_[0] in join or string at
/usr/pkg/lib/perl5/vendor_perl/5.10.0/x86_64-freebsd-thread-multi/File/Spec/Unix.pm
line 86.
Use of uninitialized value $_[0] in join or string at
/usr/pkg/lib/perl5/vendor_perl/5.10.0/x86_64-freebsd-thread-multi/File/Spec/Unix.pm
line 86.
Use of uninitialized value $_[0] in join or string at
/usr/pkg/lib/perl5/vendor_perl/5.10.0/x86_64-freebsd-thread-multi/File/Spec/Unix.pm
line 86.
Use of uninitialized value $_[0] in join or string at
/usr/pkg/lib/perl5/vendor_perl/5.10.0/x86_64-freebsd-thread-multi/File/Spec/Unix.pm
line 86.
Use of uninitialized value $_[0] in join or string at
/usr/pkg/lib/perl5/vendor_perl/5.10.0/x86_64-freebsd-thread-multi/File/Spec/Unix.pm
line 86.
Use of uninitialized value $_[0] in join or string at
/usr/pkg/lib/perl5/vendor_perl/5.10.0/x86_64-freebsd-thread-multi/File/Spec/Unix.pm
line 86.
Use of uninitialized value $_[0] in join or string at
/usr/pkg/lib/perl5/vendor_perl/5.10.0/x86_64-freebsd-thread-multi/File/Spec/Unix.pm
line 86.
Use of uninitialized value $_[0] in join or string at
/usr/pkg/lib/perl5/vendor_perl/5.10.0/x86_64-freebsd-thread-multi/File/Spec/Unix.pm
line 86.
Use of uninitialized value $_[0] in join or string at
/usr/pkg/lib/perl5/vendor_perl/5.10.0/x86_64-freebsd-thread-multi/File/Spec/Unix.pm
line 86.
Use of uninitialized value $_[0] in join or string at
/usr/pkg/lib/perl5/vendor_perl/5.10.0/x86_64-freebsd-thread-multi/File/Spec/Unix.pm
line 86.
Use of uninitialized value $_[0] in join or string at
/usr/pkg/lib/perl5/vendor_perl/5.10.0/x86_64-freebsd-thread-multi/File/Spec/Unix.pm
line 86.
Use of uninitialized value $_[0] in join or string at
/usr/pkg/lib/perl5/vendor_perl/5.10.0/x86_64-freebsd-thread-multi/File/Spec/Unix.pm
line 86.
Use of uninitialized value $_[0] in join or string at
/usr/pkg/lib/perl5/vendor_perl/5.10.0/x86_64-freebsd-thread-multi/File/Spec/Unix.pm
line 86.
Use of uninitialized value $_[0] in join or string at
/usr/pkg/lib/perl5/vendor_perl/5.10.0/x86_64-freebsd-thread-multi/File/Spec/Unix.pm
line 86.
Use of uninitialized value $_[0] in join or string at
/usr/pkg/lib/perl5/vendor_perl/5.10.0/x86_64-freebsd-thread-multi/File/Spec/Unix.pm
line 86.
Use of uninitialized value $_[0] in join or string at
/usr/pkg/lib/perl5/vendor_perl/5.10.0/x86_64-freebsd-thread-multi/File/Spec/Unix.pm
line 86.
Use of uninitialized value $_[0] in join or string at
/usr/pkg/lib/perl5/vendor_perl/5.10.0/x86_64-freebsd-thread-multi/File/Spec/Unix.pm
line 86.
Use of uninitialized value $_[0] in join or string at
/usr/pkg/lib/perl5/vendor_perl/5.10.0/x86_64-freebsd-thread-multi/File/Spec/Unix.pm
line 86.
Use of uninitialized value $_[0] in join or string at
/usr/pkg/lib/perl5/vendor_perl/5.10.0/x86_64-freebsd-thread-multi/File/Spec/Unix.pm
line 86.
Use of uninitialized value $_[0] in join or string at
/usr/pkg/lib/perl5/vendor_perl/5.10.0/x86_64-freebsd-thread-multi/File/Spec/Unix.pm
line 86.
Use of uninitialized value $_[0] in join or string at
/usr/pkg/lib/perl5/vendor_perl/5.10.0/x86_64-freebsd-thread-multi/File/Spec/Unix.pm
line 86.
t/01basic.t .... ok
t/02vmethod.t .. Argument "E0" isn't numeric in subroutine entry at
/usr/pkgsrc/devel/p5-Template-Plugin-ListUtil/work/Template-Plugin-ListUtil-0.02/blib/lib/Template/Plugin/ListUtil.pm
line 69, <GEN0> chunk 1.
t/02vmethod.t .. 1/54 Argument "E0" isn't numeric in subroutine entry at
/usr/pkgsrc/devel/p5-Template-Plugin-ListUtil/work/Template-Plugin-ListUtil-0.02/blib/lib/Template/Plugin/ListUtil.pm
line 85, <GEN0> chunk 1.
Argument "E0" isn't numeric in addition (+) at
/usr/pkgsrc/devel/p5-Template-Plugin-ListUtil/work/Template-Plugin-ListUtil-0.02/blib/lib/Template/Plugin/ListUtil.pm
line 107, <GEN0> chunk 1.
Argument "E0" isn't numeric in addition (+) at
/usr/pkgsrc/devel/p5-Template-Plugin-ListUtil/work/Template-Plugin-ListUtil-0.02/blib/lib/Template/Plugin/ListUtil.pm
line 107, <GEN0> chunk 1.
t/02vmethod.t .. ok
All tests successful.
Files=2, Tests=108, 1 wallclock secs ( 0.05 usr 0.00 sys + 0.88 cusr
0.06 csys = 0.99 CPU)
Result: PASS
Most of them are easy to remove by using FindBin explicitely - the
remaining seems to result from bogus tests:
t/02vmethod....Name "Template::Plugin::ListUtilVMethods::SCALAR_OPS" used
only once: possible typo at
/opt/pkgsrc/lib/perl5/vendor_perl/5.10.0/Template/Plugin/VMethods.pm line
199.
Name "Template::Plugin::ListUtilVMethods::HASH_OPS" used only once:
possible typo at
/opt/pkgsrc/lib/perl5/vendor_perl/5.10.0/Template/Plugin/VMethods.pm line
199.
(Same for 02vmethod.t)
Best regards,
Jens
Subject: | patch-aa |
Message body not shown because it is not plain text.