Re: [Virt-test-devel] [virt-test][PATCH 4/7] virt: Adds named variants to Cartesian config.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux