[RFC] Random hack of the day - test suite with progress bar.
Robert Collins
robertc at robertcollins.net
Wed Feb 15 22:46:00 GMT 2006
On Wed, 2006-02-15 at 16:14 -0600, John A Meinel wrote:
> Robert Collins wrote:
> > For your enjoyment, or peanuts, or both.
> >
> > http://people.ubuntu.com/~robertc/baz2.0/test-pb
> >
> > This turns the ~ markers into a progress bar.
> >
> > I.e.
> > [== ] Running tests 45/968 -:--:--
> >
> > Rather than
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >
>
> I do like [==== ] versus ~~~~~, but I kind of miss having E/F/S, etc.
>
> I'm also curious if we could print out the last 10 characters or so of
> the test that is being run, rather than just an un-informative 'running
> tests'.
Yes, thats doable by doing an update at the start of the test, but it
will slow things down with our current pb implementation...
There is some sort of nasty interaction with the test suite though,
which makes this currently unmergable - pages of spew get output.
I've done it in my branch:
[== ] ...DirServer) 52/1261 0:02:23
...
[== ] SKIP 54/1261 0:42:08
Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060216/bede1e06/attachment.pgp
More information about the bazaar
mailing list