[dts] [PATCH for-next 6/6] tests/TestSuite_nic_single_core_perf: Fix test case name

Wang, FeiX Y feix.y.wang at intel.com
Mon Mar 5 10:25:39 CET 2018


HI, Patrick

There is no need  to configure nic_single_core_perf with perf prefix, because if we did, DTS will enable Ixia as external traffic generator (enable TREX for perf test has not been implemented by DTS framework so far). So we walk around this by configuring the test as a func test.

Thanks

Fei

-----Original Message-----
From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of Patrick MacArthur
Sent: Wednesday, February 21, 2018 1:26 AM
To: dts at dpdk.org
Cc: pmacarth at iol.unh.edu; dpdklab at iol.unh.edu
Subject: [dts] [PATCH for-next 6/6] tests/TestSuite_nic_single_core_perf: Fix test case name

The test framework will only run performance tests that start with test_perf_. Fix the name so that the nic_single_core_perf test is run.

Tested-by: Ali Alnubani <alialnu at mellanox.com>
Signed-off-by: Patrick MacArthur <pmacarth at iol.unh.edu>
---
 tests/TestSuite_nic_single_core_perf.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_nic_single_core_perf.py b/tests/TestSuite_nic_single_core_perf.py
index bff763c129fa..2a0934742623 100644
--- a/tests/TestSuite_nic_single_core_perf.py
+++ b/tests/TestSuite_nic_single_core_perf.py
@@ -97,7 +97,7 @@ class TestNicSingleCorePerf(TestCase):
         else:
             raise Exception("Not required NIC")
 
-    def test_nic_single_core_perf(self):
+    def test_perf_nic_single_core_perf(self):
         """
         Run nic single core performance 
         """
--
2.14.1



More information about the dts mailing list