AZed has asked for the wisdom of the Perl Monks concerning the following question:
The automated smoke test reports on my EBook-Tools module are being completely obscured by lines that look like:
Use of uninitialized value in string eq at (eval 46) line 1. Use of uninitialized value in string eq at (eval 47) line 1. Use of uninitialized value in string eq at (eval 48) line 1. Use of uninitialized value $_[1] in hash element at /usr/share/perl5/X +ML/Twig.pm line 5297. Use of uninitialized value in string eq at (eval 42) line 1. Use of uninitialized value in string eq at (eval 39) line 1.
As far as I can tell, this is entirely an artifact of Test::Harness. It doesn't happen when executing my code, it doesn't happen when running the tests by hand, and it doesn't happen when running the tests via prove. Some of the warning messages aren't even in my code! I'd have been inclined to ignore them, except that I've got either a missing dependency somewhere or a genuine portability bug that I can't find, and the smoke tests that are reporting the failure are also truncating before returning any useful information on where the failure is, so they're useless to me other than to say that some automated systems aren't testing the same way I am.
Does anyone know what causes this, and either how to stop it or how to set up a useful kind of bug report to Test::Harness?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Test::Harness and uninitialized value in eval
by ikegami (Patriarch) on Nov 22, 2008 at 09:11 UTC | |
by AZed (Monk) on Nov 22, 2008 at 14:50 UTC | |
|
Re: Test::Harness and uninitialized value in eval
by Anonymous Monk on Nov 22, 2008 at 04:45 UTC | |
by AZed (Monk) on Nov 22, 2008 at 05:28 UTC | |
by syphilis (Archbishop) on Nov 22, 2008 at 08:13 UTC |