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 B29AAA04DB; Fri, 4 Sep 2020 10:17:32 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id ADA5C1C11C; Fri, 4 Sep 2020 10:17:32 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id E74FB1C0C2 for ; Fri, 4 Sep 2020 10:17:31 +0200 (CEST) IronPort-SDR: P1zSg64SLEhuvbL2iEhpmEk9AkAp41ICD4Kl2JXd+vmwnPcPQKkTGuF+Pyk2jYK4J9Ur+DotT7 aq16hqMN8zNg== X-IronPort-AV: E=McAfee;i="6000,8403,9733"; a="175763294" X-IronPort-AV: E=Sophos;i="5.76,389,1592895600"; d="scan'208";a="175763294" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Sep 2020 01:17:31 -0700 IronPort-SDR: rzNsC5kcBU51B0t1ccHkFdZG1Z63+hV1w3sE6AqV1yuBTyoLUceAfZAq8o+aX/Qncz/6HPCC9B eg6fMVLEPpIQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,389,1592895600"; d="scan'208";a="315782692" Received: from unknown (HELO localhost.localdomain.sh.intel.com) ([10.240.182.150]) by orsmga002.jf.intel.com with ESMTP; 04 Sep 2020 01:17:30 -0700 From: xizhan4x To: dts@dpdk.org Cc: xizhan4x Date: Fri, 4 Sep 2020 16:18:27 +0800 Message-Id: <1599207525-22123-20-git-send-email-xix.zhang@intel.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1599207525-22123-1-git-send-email-xix.zhang@intel.com> References: <1599207525-22123-1-git-send-email-xix.zhang@intel.com> Subject: [dts] [dts 20/38] tests/TestSuite_perf_virtio_user_loopback.py:support 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" Signed-off-by: xizhan4x --- tests/TestSuite_perf_virtio_user_loopback.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/TestSuite_perf_virtio_user_loopback.py b/tests/TestSuite_perf_virtio_user_loopback.py index 822e6d9..9f40d36 100644 --- a/tests/TestSuite_perf_virtio_user_loopback.py +++ b/tests/TestSuite_perf_virtio_user_loopback.py @@ -72,6 +72,7 @@ class TestPerfVirtioUserLoopback(TestCase): self.virtio_user = self.dut.new_session(suite="virtio-user") self.save_result_flag = True self.json_obj = dict() + self.path=self.dut.apps_name['test-pmd'] def set_up(self): """ @@ -107,7 +108,7 @@ class TestPerfVirtioUserLoopback(TestCase): """ eal_params = self.dut.create_eal_parameters(cores=self.core_list_host, no_pci=True, prefix='vhost') - command_line_client = self.dut.target + "/app/testpmd %s " + \ + command_line_client = self.path + " %s " + \ "--socket-mem %s --vdev " + \ "'net_vhost0,iface=vhost-net,queues=%d' -- -i --nb-cores=%d " + \ "--rxq=%d --txq=%d --txd=%d --rxd=%d" @@ -124,7 +125,7 @@ class TestPerfVirtioUserLoopback(TestCase): """ eal_params = self.dut.create_eal_parameters(cores=self.core_list_user, no_pci=True, prefix='virtio') - command_line_user = self.dut.target + "/app/testpmd %s " + \ + command_line_user = self.path+ " %s " + \ " --socket-mem %s " + \ "--vdev=net_virtio_user0,mac=00:01:02:03:04:05,path=./vhost-net,queues=%d,%s " + \ "-- -i %s --rss-ip --nb-cores=%d --rxq=%d --txq=%d --txd=%d --rxd=%d" -- 1.8.3.1