X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=tests%2Fdpdk%2Fperf%2F__init__.robot;h=10878c2d199ed17308bce851a0b5e17093cfc6ab;hp=8010a74503b99605e271c8ba9d3bd2ec7d98d14e;hb=d68951ac245150eeefa6e0f4156e4c1b5c9e9325;hpb=ed0258a440cfad7023d643f717ab78ac568dc59b diff --git a/tests/dpdk/perf/__init__.robot b/tests/dpdk/perf/__init__.robot index 8010a74503..10878c2d19 100644 --- a/tests/dpdk/perf/__init__.robot +++ b/tests/dpdk/perf/__init__.robot @@ -14,25 +14,29 @@ *** Settings *** | Resource | resources/libraries/robot/shared/default.robot | Resource | resources/libraries/robot/shared/interfaces.robot +| | Library | resources.libraries.python.SetupFramework | Library | resources.libraries.python.SetupFramework.CleanupFramework | Library | resources.libraries.python.DPDK.DPDKTools +| | Suite Setup | Run Keywords | Setup performance global Variables | ... | AND | Setup Framework | ${nodes} | ... | AND | Install DPDK test on all DUTs | ${nodes} | ... | AND | Get CPU Info from All Nodes | ${nodes} | ... | AND | Update All Numa Nodes | ... | ${nodes} | skip_tg=${True} +| | Suite Teardown | Cleanup Framework | ${nodes} *** Keywords *** | Setup performance global Variables | | [Documentation] | | ... | 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 -| | ... +| | | | Set Global Variable | ${pkt_trace} | ${False} | | Set Global Variable | ${dut_stats} | ${False} +| | Set Global Variable | ${nodes}