From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 38022A04B1; Fri, 14 Aug 2020 04:32:42 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id EADB91C0BF; Fri, 14 Aug 2020 04:32:41 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 0501D4C9D for ; Fri, 14 Aug 2020 04:32:40 +0200 (CEST) IronPort-SDR: 25/ItGelcXZKi9uNGfT8LFHkWKrsGzXfIgSmGX0QxAFl/RDB25t+aVXdTA0iVUuOnVii+K4L6A aS6oB0x0hLbg== X-IronPort-AV: E=McAfee;i="6000,8403,9712"; a="151763897" X-IronPort-AV: E=Sophos;i="5.76,310,1592895600"; d="scan'208";a="151763897" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Aug 2020 19:32:40 -0700 IronPort-SDR: 4tKSj4gLuTjDcK81j6W0uxgB8C7zfeQ/zx/QamLcpUVY5XDw2i3PPKJUMzG58wv5zOsSJZu7qC L0lcAlemZk+w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,310,1592895600"; d="scan'208";a="309253387" Received: from unknown (HELO localhost.localdomain) ([10.240.183.222]) by orsmga002.jf.intel.com with ESMTP; 13 Aug 2020 19:32:38 -0700 From: lingwei To: dts@dpdk.org Cc: lingwei Date: Fri, 14 Aug 2020 10:16:53 +0000 Message-Id: <20200814101653.80320-1-weix.ling@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dts] [PATCH V1] tests/TestSuite_performance_thread:support dpdk meson build X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" support dpdk meson build Signed-off-by: lingwei --- 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