[Libvirt-cim] [PATCH] [TEST] XFAIL VSSD/04_vssd_to_rasd.py because that libvirt allows the user to specify a mouse with "xen" bus type for LXC
Kaitlin Rupert
kaitlin at linux.vnet.ibm.com
Tue Dec 2 17:40:02 UTC 2008
Guo Lian Yun wrote:
>
> libvirt-cim-bounces at redhat.com wrote on 2008-12-02 02:45:46:
>
> > >
> > > +libvirt_bug = "00009"
> > > sup_types = ['Xen', 'KVM', 'XenFV', 'LXC']
> > >
> > > test_dom = "VSSDC_dom"
> > > @@ -193,6 +194,8 @@
> > > status = verify_displayrasd_values(rasd_instance,
> > displayrasd)
> > > elif 'InputResourceAllocationSettingData' in CCName:
> > > status = verify_inputrasd_values(rasd_instance,
> inputrasd)
> > > + if status != PASS and virt== 'LXC':
> > > + return XFAIL_RC(libvirt_bug)
> >
> > Instead of putting the XFAIL here, the check should go in
> > verify_inputrasd_values() - this way, none of the tests need to be
> updated.
>
> If XFAIL is put in verify_inputrasd_values(), we have to add another
> parameter of 'virt'
> to verify_inputrasd_values(), which more tests need to be updates.
>
> Thoughts?
Yes, that's a good point. Okay, we'll have the tests be updated for now.
--
Kaitlin Rupert
IBM Linux Technology Center
kaitlin at linux.vnet.ibm.com
More information about the Libvirt-cim
mailing list