[RFC] small updates to test running

John Arbash Meinel john at arbash-meinel.com
Fri Jul 14 17:16:23 BST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Martin Pool wrote:
> On 12 Jul 2006, John Arbash Meinel <john at arbash-meinel.com> wrote:
>> Currently the selftest suite runs all of the adapted Transport tests
>> before running any other tests. This takes quite a while, and Transport
>> has been stable for a while. I think it would be nice if we ran them
>> after the testmod_names. Just trying to move failed tests earlier.
>>
>> Second, I think it would be nice if the non-verbose mode would print out
>> a single line for failed/error tests. It goes back to Aaron's earlier
>> complaint, that now you have to run the whole test suite before it
>> prints out anything about what has failed. I think doing something like:
>>
>> test.foo.bar.baz: FAIL
>> test.xxx.yy.zzz: ERROR
>> [========      ] 10/1000
>>
>> It would add 1 line for everything that fails, but it is nicer in a few
>> ways.
> 
> Both those sounds good to me.
> 
> I tend to run with --one if I expect anything will fail, just because of
> the volume of (largely unhelpful) error log we get at the moment.
> 
>> 1) You know that something is failing before the test finishes
>> 2) You can see what is actually failing and go work on that test while
>> waiting for the rest to finish.
>> 3) You can quickly spot fail/error tests, rather than grepping through
>> the output of --verbose
> 
> 

The attached bundle actually implements this, and it even updates the
selftest progress bar tests so that it checks for the appropriate note()
calls.

I don't think this is critical for 0.9, but it is probably nice to get
in. (And it is a relatively small change)

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEt8NXJdeBCYSNAAMRAvU8AJ9fVP7zfXMdGF/bMyvL0yvs2ge6yACeOynZ
pptNjBl08TpH6uWFv+IRuaU=
=LIfM
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: small-tests-updates.patch
Type: text/x-patch
Size: 0 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060714/4226e46d/attachment.bin 


More information about the bazaar mailing list