Date: | Sat, 21 Feb 2004 16:21:42 +0100 |
From: | Jaap Karssenberg <j.g.karssenberg [...] student.utwente.nl> |
To: | andy [...] petdance.com |
Subject: | Test::Harness bug |
Greetings,
I understand you are the maintainer of the Test::Harness module, since
the number of old entries in rt.cpan that go back several months I took
the liberty of mailing you directly.
I have a very strange problem, though all my tests report "ok"
Test::Harness counts two of them as "not ok". See terminal output below.
Now the two tests 8 and 9 do really succeed, if I reverse their
statements they fail to good way :) but somehow they don't get counted.
- I verified this is not a Module::Build problem
- The problem occurs at least with T::H 2.40
- The code that's tested could trigger terminal control code (but
shouldn't), apart from that no funky stuff in there, no tie, overload or
filehandle juggling
Do you have a suggestion in which direction to look for the problem ?
The code this test is part of is intended for CPAN, but still in testing
stage, I could send you a tarball of the cvs tree if you wish.
$ ./Build test --test_files t/10_zoid.t verbose=1
t/10_zoid....1..10
ok 1 - rl:zoid loaded
ok 2 - right 1
ok 3 - right 2
ok 4 - pos 1
ok 5 - left 1
ok 6 - pos 2
ok 7 - pos 3
ok 8 - left 2
ok 9 - right 3
ok 10 - escape to command mode
FAILED tests 8-9
Failed 2/10 tests, 80.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-----------------------------------------------------------------------
t/10_zoid.t 10 2 20.00% 8-9
Failed 1/1 test scripts, 0.00% okay. 2/10 subtests failed, 80.00% okay.
--
) ( Jaap Karssenberg || Pardus [Larus] | |0| |
: : http://pardus-larus.student.utwente.nl/~pardus | | |0|
) \ / ( |0|0|0|
",.*'*.," Proud owner of "Perl6 Essentials" 1st edition :) wannabe