Changes Arithmetic runner to accept several step parameters 61/4761/3
authorPer Holmgren <per.q.holmgren@ericsson.com>
Thu, 17 Dec 2015 08:29:21 +0000 (09:29 +0100)
committerJörgen Karlsson <jorgen.w.karlsson@ericsson.com>
Fri, 18 Dec 2015 08:03:35 +0000 (08:03 +0000)
commit0c98e8f83d3548f4f2dc91cfc6e743833fb635c9
tree8e8f013e809fd3658a0ba1d6a810089923cedab0
parent10594c003a2bc2e2b1ff45a2dff28911b9c2c8f5
Changes Arithmetic runner to accept several step parameters

The Arithmetic runner is modified to accept several named
parameters to iterate over in each scenario. Possible to chose
either to iterate through them in a nested-for-loop fashion
(default) or in a tupled loop fashion (combine i:th element
of each input). Still possible to only provide one parameter
to step/iterate over, as before.

All existing yaml files with Arithmetic types have been modified
to run the tests as before, and to provide same results as before
this change. The only change is in sample file pktgen.yaml to
provide a valid example of how to use this modification.

It is also possible to step backwards, i.e. start > stop, with
a negative step parameter value.

(Noticed that tests are terminated when there is SLA error
problems in "monitor" mode. Should be fixed in another commit)

Change-Id: Ib2ebd24b71dd55d6817cee8e67026a0dd13a9e17
JIRA: -
samples/lmbench.yaml
samples/ping-serial.yaml
samples/pktgen.yaml
yardstick/benchmark/runners/arithmetic.py