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.

_______________________________________________
Virt-test-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-test-devel

Reply via email to