Hello,

Yes, what you describe is possible, though (as with most things 
cartesian related) not entirely obvious.  The trick here is to setup 
variant shortnames that include the test filters, then reference the 
shortnames from the command-line.  For example (using letters as 
simplified variant names):

variants:
     - A:
     - B:
     - C:
     - X:
     - Y:
     - Z:

# shortnames
variants:
     @one:
         only A B C
     @two:
         only X Y Z

Assuming there aren't any other top-level filters active (i.e. comment 
out the default 'only qemu_kvm_f16_quick').  You just have to write 
something like the '#shortnames' block above.  Then, pass 'only=one' as 
a command-line argument to autotest on the first run, then 'only=two' on 
the second run.  The effect will be running A, B, and C the first time, 
then X,Y and Z the second time.  You're free to define the shortnames 
however you want, and/or including application of the other filters at 
that level.

I'm sure you're head is spinning now, but I did actually try the above 
and it works.  Otherwise, you may ease the symptoms of 
Cartesian-Configuration syndrome with a cup of coffee/tea and a read 
through the new wiki docs on 'Cartesian Configuration'.  Shameless-plug: 
I wrote the docs, so please let me know your feedback :)

N.B. We know the inter-document links are broken :(

On 03/26/2012 02:51 PM, Richa Marwaha wrote:
>
> Hi
> I am running the KVM autotests and trying to run it with different options
> in tests.cfg. For example in tests.cfg
> If I comment out the only up option in tests.cfg n then run the dict I see
> the following
>
>
> dict    1:  e1000.Fedora.16.64.unattended_install.cdrom
> dict    2:  e1000.Fedora.16.64.boot
> dict    3:  e1000.Fedora.16.64.shutdown
> dict    4:  smp2.e1000.Fedora.16.64.unattended_install.cdrom
> dict    5:  smp2.e1000.Fedora.16.64.boot
> dict    6:  smp2.e1000.Fedora.16.64.shutdown
>
> Is there a way that I can run dict1,2,3 in one iteration and then 4,5,6 in
> other one instead of all running in one iteration.
>
> In other words is there a way to run these tests separately rather than
> together.
> Thanks a lot
> Regards,
> Richa Marwaha
> LTC Security
> Email address:rmar...@us.ibm.com
>
>
>
> _______________________________________________
> Autotest mailing list
> Autotest@test.kernel.org
> http://test.kernel.org/cgi-bin/mailman/listinfo/autotest


-- 
Chris Evich, RHCA, RHCE, RHCDS, RHCSS
Quality Assurance Engineer
e-mail: cevich + `@' + redhat.com o: 1-888-RED-HAT1 x44214
_______________________________________________
Autotest mailing list
Autotest@test.kernel.org
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to