Jiří, okay, got it and thanks. -- Regards, Alex
----- Original Message ----- From: "Jiri Zupka" <jzu...@redhat.com> To: "Alex Jia" <a...@redhat.com> Cc: virt-test-de...@redhat.com, kvm@vger.kernel.org, kvm-autot...@redhat.com, l...@redhat.com, ldok...@redhat.com, ehabk...@redhat.com, pbonz...@redhat.com Sent: Tuesday, April 16, 2013 10:16:57 PM Subject: Re: [Virt-test-devel] [virt-test][PATCH 4/7] virt: Adds named variants to Cartesian config. Hi Alex, thanks again for review. I recognize now what you mean. I thought that you another thread of mails. I was try it again with https://github.com/autotest/virt-test/pull/255 and demo example works. If you are interest in this feature. Check new version which I'll send in future days. There will be some changes in syntax and will be added lexer for better filtering. regards, Jiří Župka ----- Original Message ----- > Hi Alex, > I hope you use "new" version of cart config in github > https://github.com/autotest/virt-test/pull/255. > This was older RFC version of vart config. And I'm preparing new version > based on communication with Eduardo and Pablo. > > If you don't please loot at documentation > https://github.com/autotest/virt-test/wiki/VirtTestDocumentation#wiki-id26 > This documentation says how it works now. > > regards > Jiří Župka > > ----- Original Message ----- > > On 03/30/2013 01:14 AM, Jiří Župka wrote: > > > variants name=tests: > > > - wait: > > > run = "wait" > > > variants: > > > - long: > > > time = short_time > > > - short: long > > > time = logn_time > > > - test2: > > > run = "test1" > > > > > > variants name=virt_system: > > > - linux: > > > - windows_XP: > > > > > > variants name=host_os: > > > - linux: > > > image = linux > > > - windows_XP: > > > image = windows > > > > > > tests>wait.short: > > > shutdown = destroy > > > > > > only host_os>linux > > Jiří , I pasted above above example into demo.cfg and ran it via > > cartesian parser then I got the error "__main__.ParserError: 'variants' > > is not allowed inside a conditional block > > (libvirt/tests/cfg/demo.cfg:4)", any wrong with me? thanks. > > > > > -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html