[Libvirt-cim] [PATCH 2 of 2] [TEST] Add test report generation

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Mon Aug 11 16:11:04 UTC 2008


>  > +
>  > +def build_report(run_output, rev, changeset, virt, ip):
>  > +    rvals = { 'PASS' : 0,
>  > +              'FAIL' : 0,
>  > +              'XFAIL' : 0,
>  > +              'SKIP' : 0,
>  > +            }
>  > +
>  > +    tstr = { 'PASS' : "",
>  > +             'FAIL' : "",
>  > +             'XFAIL' : "",
>  > +             'SKIP' : "",
>  > +           }
>  > +                
>  > +    date = strftime("%b %d %Y", gmtime())
>  > +
>  > +    heading  = "%s Test Run Summary %s" % (virt, date)
> 
>        Do you think it's better to add distribution info in heading? 
> Otherwise,
>        +1 for me =)
>  
> 

This is a good idea - I'll add this change and send another version. 
I'm also going to refactor the reporting pieces so that they are in 
their own library file.

-- 
Kaitlin Rupert
IBM Linux Technology Center
kaitlin at linux.vnet.ibm.com




More information about the Libvirt-cim mailing list