test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] tests/TestSuite_performance_thread:support dpdk meson build
@ 2020-08-14 10:16 lingwei
  2020-08-21  3:09 ` Tu, Lijuan
  0 siblings, 1 reply; 2+ messages in thread
From: lingwei @ 2020-08-14 10:16 UTC (permalink / raw)
  To: dts; +Cc: lingwei

support dpdk meson build

Signed-off-by: lingwei <weix.ling@intel.com>
---
 tests/TestSuite_performance_thread.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/TestSuite_performance_thread.py b/tests/TestSuite_performance_thread.py
index 2ede5b5..3ff2015 100644
--- a/tests/TestSuite_performance_thread.py
+++ b/tests/TestSuite_performance_thread.py
@@ -61,7 +61,6 @@ class TestPerformanceThread(TestCase):
         self.frame_sizes = self.get_suite_cfg()["frame_size"]
         self.nb_cores = self.get_suite_cfg()["cores"]
         self.headers_size = HEADER_SIZE['eth'] + HEADER_SIZE['ip'] + HEADER_SIZE['tcp']
-        self.path = "examples/performance-thread/l3fwd-thread/build/l3fwd-thread"
 
         # compile performance_thread app
         out = self.dut.build_dpdk_apps("./examples/performance-thread/l3fwd-thread")
@@ -196,10 +195,11 @@ class TestPerformanceThread(TestCase):
         for cores in self.nb_cores:
             core_list, core_mask = self.create_cores(cores)
             lcore_config, rx, tx = self.config_rx_tx(cores, core_list)
+            app_name = self.dut.apps_name['l3fwd-thread']
             if self.running_case is "test_perf_n_lcore_per_pcore":
-                cmdline = "{} -n 4 {} --lcores='{}' {} --rx='{}' --tx='{}'".format(self.path, eal_param, lcore_config, params, rx, tx)
+                cmdline = "{} -n 4 {} --lcores='{}' {} --rx='{}' --tx='{}'".format(app_name, eal_param, lcore_config, params, rx, tx)
             else:
-                cmdline = "{} -c {} {} {} --rx='{}' --tx='{}'".format(self.path, core_mask, eal_param, params, rx, tx)
+                cmdline = "{} -c {} {} {} --rx='{}' --tx='{}'".format(app_name, core_mask, eal_param, params, rx, tx)
             self.dut.send_expect(cmdline, "L3FWD:", 120)
 
             for frame_size in self.frame_sizes:
-- 
2.17.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dts] [PATCH V1] tests/TestSuite_performance_thread:support dpdk meson build
  2020-08-14 10:16 [dts] [PATCH V1] tests/TestSuite_performance_thread:support dpdk meson build lingwei
@ 2020-08-21  3:09 ` Tu, Lijuan
  0 siblings, 0 replies; 2+ messages in thread
From: Tu, Lijuan @ 2020-08-21  3:09 UTC (permalink / raw)
  To: Ling, WeiX, dts; +Cc: Ling, WeiX

> support dpdk meson build
> 
> Signed-off-by: lingwei <weix.ling@intel.com>
> ---
>  tests/TestSuite_performance_thread.py | 6 +++---

Applied

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-08-21  3:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-14 10:16 [dts] [PATCH V1] tests/TestSuite_performance_thread:support dpdk meson build lingwei
2020-08-21  3:09 ` Tu, Lijuan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).