public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Alex Jia <ajia@redhat.com>
To: "Jiří Župka" <jzupka@redhat.com>
Cc: kvm@vger.kernel.org, virt-test-devel@redhat.com,
	pbonzini@redhat.com, kvm-autotest@redhat.com
Subject: Re: [virt-test][PATCH 4/7] virt: Adds named variants to Cartesian config.
Date: Tue, 16 Apr 2013 14:50:30 +0800	[thread overview]
Message-ID: <516CF4B6.5010300@redhat.com> (raw)
In-Reply-To: <1364577250-2637-5-git-send-email-jzupka@redhat.com>

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
Virt-test-devel@redhat.com
https://www.redhat.com/mailman/listinfo/virt-test-devel

  parent reply	other threads:[~2013-04-16  6:50 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-29 17:14 [virt-test] virt: Cartesian config update v3 Jiří Župka
2013-03-29 17:14 ` [virt-test][PATCH 1/7] virt: Make Cartesian config more verbose Jiří Župka
2013-03-29 17:14 ` [virt-test][PATCH 2/7] virt: Update cartesian config unittest Jiří Župka
2013-03-29 17:14 ` [virt-test][PATCH 3/7] virt: Adds formal definition for Cartesian config Jiří Župka
2013-03-29 17:14 ` [virt-test][PATCH 4/7] virt: Adds named variants to " Jiří Župka
2013-04-01 14:30   ` Eduardo Habkost
2013-04-04 16:14     ` Jiri Zupka
2013-04-16  6:50   ` Alex Jia [this message]
2013-04-16 12:03     ` Jiri Zupka
2013-04-16 14:16       ` Jiri Zupka
2013-04-17  2:47         ` Alex Jia
2013-05-03 15:54           ` virt: New version " Jiri Zupka
2013-05-16  9:35             ` Jiri Zupka
2013-03-29 17:14 ` [virt-test][PATCH 5/7] virt: Update Cartesian config unittest named variants Jiří Župka
2013-04-01 14:21   ` Eduardo Habkost
2013-03-29 17:14 ` [virt-test][PATCH 6/7] virt: Adds possibility filter defaults variant from variants Jiří Župka
2013-04-01 14:40   ` Eduardo Habkost
2013-03-29 17:14 ` [virt-test][PATCH 7/7] virt: Update Cartesian config unittest default variants Jiří Župka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=516CF4B6.5010300@redhat.com \
    --to=ajia@redhat.com \
    --cc=jzupka@redhat.com \
    --cc=kvm-autotest@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=pbonzini@redhat.com \
    --cc=virt-test-devel@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox