X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=tests%2Fdpdk%2Fperf%2F__init__.robot;h=0161b4cff13ca251886420c06d4e3d0c02031afa;hb=3b2dcb0348e890950dfbc3fe4aec7008d4e1f63a;hp=096bc8865b491835f90d3a1f835862f464aa0e41;hpb=6bcf4d40d83bbf026f9fd0105bebf579423c65a6;p=csit.git diff --git a/tests/dpdk/perf/__init__.robot b/tests/dpdk/perf/__init__.robot index 096bc8865b..0161b4cff1 100644 --- a/tests/dpdk/perf/__init__.robot +++ b/tests/dpdk/perf/__init__.robot @@ -21,7 +21,7 @@ | | Suite Setup | Run Keywords | Setup performance global Variables | ... | AND | Setup Framework | ${nodes} -| ... | AND | Install DPDK test on all DUTs | ${nodes} +| ... | AND | Install DPDK framework on all DUTs | ${nodes} | ... | AND | Get CPU Info from All Nodes | ${nodes} | ... | AND | Update All Interface Data on All Nodes | ${nodes} | ... | skip_tg=${True} | skip_vpp=${True} @@ -34,9 +34,18 @@ | | ... | Setup suite Variables. Variables are used across performance testing. | | | | ... | _NOTE:_ This KW sets following suite variables: -| | ... | - pkt_trace - Switch to enable packet trace for test -| | ... | - dut_stats - Switch to enable DUT statistics +| | ... | - pre_stats - Statistics actions before traffic. +| | ... | - post_stats - Statistics actions after traffic. +| | ... | - pre_run_stats - Statistics actions during traffic before timer. +| | ... | - post_run_stats - Statistics actions during traffic after timer. | | -| | Set Global Variable | ${pkt_trace} | ${False} -| | Set Global Variable | ${dut_stats} | ${False} +| | ${pre_stats}= | Create List +| | ... | clear-show-runtime-with-traffic +| | ${post_stats}= | Create List | noop +| | ${pre_run_stats}= | Create List | noop +| | ${post_run_stats}= | Create List | noop +| | Set Global Variable | ${pre_stats} +| | Set Global Variable | ${post_stats} +| | Set Global Variable | ${pre_run_stats} +| | Set Global Variable | ${post_run_stats} | | Set Global Variable | ${nodes}