Hi,
  It really looks like to Cartesian config which is already implemented in 
autotest.
Tests and Machines could be filtered by only and no filters. There is missing 
only
scheduler. It produces for you all variants which is possible to start. But 
scheduling
have to be maintained other way.


config example:

variants tests:
   - test1:
       cmd = "xxxx"
   - test2:
       cmd = "yyyy"


variants boards:
   - board1:
       only test1
   - board2:
       no test2
   - board3:
   

small-output:
   dict    1:  (boards=board1).(tests=test1)
   dict    2:  (boards=board2).(tests=test1)
   dict    3:  (boards=board3).(tests=test1)
   dict    4:  (boards=board3).(tests=test2)


more verbose output:

dict    1:  (boards=board1).(tests=test1)
    boards = board1
    cmd = xxxx
    dep = []
    name = (boards=board1).(tests=test1)
    shortname = (boards=board1).(tests=test1)
    tests = test1
dict    2:  (boards=board2).(tests=test1)
    boards = board2
    cmd = xxxx
    dep = []
    name = (boards=board2).(tests=test1)
    shortname = (boards=board2).(tests=test1)
    tests = test1
dict    3:  (boards=board3).(tests=test1)
    boards = board3
    cmd = xxxx
    dep = []
    name = (boards=board3).(tests=test1)
    shortname = (boards=board3).(tests=test1)
    tests = test1
dict    4:  (boards=board3).(tests=test2)
    boards = board3
    cmd = yyyy
    dep = []
    name = (boards=board3).(tests=test2)
    shortname = (boards=board3).(tests=test2)
    tests = test2

regards,
   Jiří Župka

----- Original Message -----
> On 05/24/2013 04:37 PM, Dev Priya wrote:
> > Hi,
> > 
> > I was looking for test suite creation examples on top of Autotest and came
> > across this link -
> > http://git.chromium.org/gitweb/?p=chromiumos/third_party/autotest.git;a=blob;f=server/cros/dynamic_suite/dynamic_suite.py;h=dbdc19f1457870f13662abf9e41e4c74e4813200;hb=e4af8b92cd321f829e09f5e8f6edd7a05592e74d
> > 
> > This is Google's addon for creating dynamic test suites and looks like a
> > very helpful feature for running automated regression test suites. Is
> > something similar on the roadmap of Autotest proper? Or has someone already
> > ported similar functionality on a forked branch?
> > 
> > I am working on creating a test that accepts array of machines, tests etc
> > as parameters and then runs all tests on all machines that match given
> > criteria. Please let me know if there are relevant examples for this case.
> > 
> > Thanks,
> > Dev
> 
> This looks very similar (at a high-level) to what we accomplish in the
> virt-test test, with the Cartesian configuration system.  Recently there
> have been some updates proposed or applied (can't remember which) that
> support better filtering/combination selection.
> https://github.com/autotest/virt-test/pull/335
> 
> It's not exactly what's described in that link, but is it similar to
> what you're looking for?
> 
> --
> Chris Evich, RHCA, RHCE, RHCDS, RHCSS
> Quality Assurance Engineer
> e-mail: cevich + `@' + redhat.com o: 1-888-RED-HAT1 x44214
> 
> _______________________________________________
> Autotest-kernel mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/autotest-kernel
> 

_______________________________________________
Autotest-kernel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/autotest-kernel

Reply via email to