[1182] If there is only one test running, swap back to the single test output (with
Nicholas Clark
nick at ccl4.org
Wed Aug 27 21:07:15 UTC 2008
On Wed, Aug 27, 2008 at 09:01:38PM +0000, nicholas at hexten.net wrote:
> Revision: 1182
> Author: nicholas
> Date: 2008-08-27 21:01:37 +0000 (Wed, 27 Aug 2008)
>
> 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?"
> - 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.
Nicholas Clark
More information about the tapx-dev
mailing list