Skip Menu |
 

This queue is for tickets about the Test-Harness CPAN distribution.

Report information
The Basics
Id: 5407
Status: resolved
Priority: 0/
Queue: Test-Harness

People
Owner: andy [...] petdance.com
Requestors: j.g.karssenberg [...] student.utwente.nl
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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
Download (untitled) / with headers
text/plain 1.7k
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
Download (untitled) / with headers
text/plain 283b
Show quoted text
> 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
I still like to keep track of stuff in RT, so I forwarded your request here. What if you replace tests 8 and 9 with simple pass() calls?


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.