[1182] If there is only one test running, swap back to the single test output (with

Andy Armstrong andy at hexten.net
Wed Aug 27 21:15:49 UTC 2008


On 27 Aug 2008, at 17:07, Nicholas Clark wrote:
>> Log Message:
>> -----------
>> If there is only one test running, swap back to the single test  
>> output (with
>> the test name), so that the identity of the slowcoach that we're  
>> waiting for
>> is clear.
>
> I hope we like this. Until now I've been frustrated wondering "what  
> am I
> waiting for?"

Yeah, very likey thanks.

>
>
>> -    if (@$active) {
>> +    if (@$active > 1) {
>>         $self->_output_ruler;
>> -    } else {
>> +    } elsif (@$active < 1) {
>>         # $self->formatter->_output("\n");
>>         delete $shared{$formatter};
>
> This produces a 0-1 second blank hiatus between the multi-test ruler  
> going
> and the first line of "test_name .... count/total" output, but I  
> couldn't
> figure out an alternative clean way of doing it, that also didn't  
> leave
> garbage on screen from the ruler.


Looks lovely to me :)

-- 
Andy Armstrong, Hexten





More information about the tapx-dev mailing list