Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: nadim [...] khemir.net
Cc:
AdminCc:

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



Subject: Consecutive run do not give the same output
Output from Test::Builder (I believe) is not the same for every run. I attached a terminal dump of two consecutive runs. the first gets this: # Failed (TODO) test (t/002_Text_Editor_Vip_Buffer.t at line 392) t/002_Text_Editor_Vip_Buffer...............ok 117/117# Failed (TODO) ... # Looks like you failed 2 tests of 117. the second this: # Failed (TODO) test (t/002_Text_Editor_Vip_Buffer.t at line 392) # Failed (TODO) test (t/002_Text_Editor_Vip_Buffer.t at line 395) # Looks like you failed 2 tests of 117.
Download dump
application/octet-stream 6.1k

Message body not shown because it is not plain text.

Date: Fri, 12 Aug 2005 13:39:28 -0700
From: Michael G Schwern <schwern [...] pobox.com>
To: Guest via RT <bug-Test-Simple [...] rt.cpan.org>
CC: undisclosed-recipients: ;
Subject: Re: [cpan #14140] Consecutive run do not give the same output
RT-Send-Cc:
On Fri, Aug 12, 2005 at 09:14:08AM -0400, Guest via RT wrote: Show quoted text
> Output from Test::Builder (I believe) is not the same for every run. I attached a terminal dump of two consecutive runs. > > the first gets this: > # Failed (TODO) test (t/002_Text_Editor_Vip_Buffer.t at line 392) > > t/002_Text_Editor_Vip_Buffer...............ok 117/117# Failed (TODO) ... > # Looks like you failed 2 tests of 117. > > the second this: > # Failed (TODO) test (t/002_Text_Editor_Vip_Buffer.t at line 392) > > # Failed (TODO) test (t/002_Text_Editor_Vip_Buffer.t at line 395) > # Looks like you failed 2 tests of 117.
This: t/002_Text_Editor_Vip_Buffer...............ok 117/117 comes from Test::Harness, not Test::Builder. What you're seeing looks like a minor buffering issue in your terminal. The "# foo" stuff is going to STDERR. "t/002..." goes to STDOUT. Sometimes the buffering of these two handles causes them to display a little out of sync. -- Michael G Schwern schwern@pobox.com http://www.pobox.com/~schwern ROCKS FALL! EVERYONE DIES! http://www.somethingpositive.net/sp05032002.shtml