On Thursday, January 19, 2012 04:19:50 PM Chris Evich wrote:
> I think because each variants block is treated as a new array
> "Dimension", so there's no way to "re-open" an already parsed one. I'll
> play with it a little more and see if I can find a solution.
Hi Chris,
I tried similar things before to those you suggested, they did not work. I was
thinking on some nice syntax with named variants blocks, something like
this:
# original.cfg
number variants:
- 1:
- 2:
alpha variants:
- a:
- b:
- c:
# overwrites.cfg
include original.cfg
# In my interpretation, this should only add a variant
# named "3" to the variants block "number" if it is
# not present in there at all: filters are already there
# for overwriting keys in an already existing variant...
number variants:
- 3:
The above config should have exactly the same effect regarding the
contents of the generated dictionaries as this:
variants:
- 1:
- 2:
- 3:
variants:
- a:
- b:
- c:
Kristóf
_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest