From d68951ac245150eeefa6e0f4156e4c1b5c9e9325 Mon Sep 17 00:00:00 2001 From: Jan Gelety Date: Tue, 12 Nov 2019 05:27:43 +0100 Subject: Python3: resources and libraries Change-Id: I1392c06b1d64f62b141d24c0d42a8e36913b15e2 Signed-off-by: Jan Gelety --- tests/dpdk/perf/__init__.robot | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'tests/dpdk/perf/__init__.robot') 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} -- cgit 1.2.3-korg