← Back to team overview

launchpad-dev team mailing list archive

Re: Getting the failing tests out of the ec2 failures emails

 

On Wed, Jul 28, 2010 at 1:50 AM, Robert Collins
<robertc@xxxxxxxxxxxxxxxxx> wrote:
> On Wed, Jul 28, 2010 at 2:35 AM, Tim Penhey <tim@xxxxxxxxxx> wrote:
>> On Wed, 28 Jul 2010 12:18:56 Tim Penhey wrote:
>>> function lp-failing
>>> {
>>>   zcat $1 | subunit-filter --no-passthrough --no-skip | subunit-ls | uniq
>>> }
>>
>> Actually, a sort before uniq is needed:
>>
>> function lp-failing
>> {
>>  zcat $1 | subunit-filter --no-passthrough --no-skip | subunit-ls | sort |
>> uniq
>> }
>
> Right, but then I only had uniq there on IRC when debugging why you
> saw 23 failures reported and only one test name. Thats a bug in
> whatever is generating test names :)
>
> As for not seeing the bodies in testr failing - testr failing
> --subunit | subunit-ls | sort | uniq, will be your friend I think, for
> now. We can of course make it better.
>

Actually, there's a patch for testrepository to add testr failing
--list, which does this.

jml



References