← 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 2:18 AM, Tim Penhey <tim@xxxxxxxxxx> wrote:
> Hi all,
>
> If you are like me and just want the failing tests, do this:
>
> save the attachment somewhere (I use ~/src/launchpad)
>
> I've created a helper function that I've put in my .bashrc file:
>
> function lp-failing
> {
>  zcat $1 | subunit-filter --no-passthrough --no-skip | subunit-ls | uniq
> }
>
> then you can go:
>
> $ lp-failing <attachment-file>

Note that doing testr load; testr failing will get you this (or testr
failing --subunit | subunit-ls) , with the history cache etc etc.

-Rob



References