Dne 10.5.2018 v 15:42 Petr Šplíchal napsal(a): > Hi! > > I was looking a bit at the multiplex feature of the Avocado > framework but unfortunately no examples provided in the > documentation worked for me: > > http://avocado-framework.readthedocs.io/en/stable/MultiplexConfig.html >> avocado multiplex --tree mux.yaml > avocado multiplex: error: unrecognized arguments: mux.yaml >
Hello Petr, the link that you provided does not work for me, anyway the example you sent is for 32lts version. For later versions the `-m|--mux-yaml` argument is required to specify the yaml2mux-like file (and other formats are also available like `--pict-parameter-file` or `--json-variants-load` and they can be mix-and-matched). The `avocado multiplex -m mux.yaml --tree` should give you what you want on 52lts but if you're using the latest greatest you should switch to `avocado variants -m mux.yaml --summary 1`. Details in: master: http://avocado-framework.readthedocs.io/en/latest/optional_plugins/varianter_yaml_to_mux.html 52lts: http://avocado-framework.readthedocs.io/en/52.1/optional_plugins/varianter_yaml_to_mux.html Regards, Lukáš > http://avocado-framework.readthedocs.io/en/latest/WritingTests.html#running-multiple-variants-of-tests >> avocado variants -m examples/tests/sleeptenmin.py.data/sleeptenmin.yaml > --summary 2 --variants 2 > avocado variants: error: unrecognized arguments: -m > examples/tests/sleeptenmin.py.data/sleeptenmin.yaml > >> avocado --version > Avocado 61.0 > > Any idea what might be wrong? Thanks. > > psss... >
signature.asc
Description: OpenPGP digital signature
