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 DB8B7A04C5; Fri, 4 Sep 2020 10:17:34 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D40CB1C113; Fri, 4 Sep 2020 10:17:34 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 514C81C0C2 for ; Fri, 4 Sep 2020 10:17:33 +0200 (CEST) IronPort-SDR: Yh7GTJwDh8HWnzeVx76gjNOZsKymAIFgccuGgPw4B35jYZFFcNuu7yHdh+VOz/rUGTP/6Nl+Wg j8aZD5/fsVKw== X-IronPort-AV: E=McAfee;i="6000,8403,9733"; a="175763297" X-IronPort-AV: E=Sophos;i="5.76,389,1592895600"; d="scan'208";a="175763297" 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:32 -0700 IronPort-SDR: +7gY3H9w2Wy9ZBxZSxErtCuLXcwvyQeFeuJAinW90JMSyjXRDi42aX6i1SbXjEMZZkrFRUZAjQ lVlIr+rttQ2g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,389,1592895600"; d="scan'208";a="315782699" 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:31 -0700 From: xizhan4x To: dts@dpdk.org Cc: xizhan4x Date: Fri, 4 Sep 2020 16:18:28 +0800 Message-Id: <1599207525-22123-21-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 21/38] tests/TestSuite_perf_vm2vm_virtio_net_perf.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_vm2vm_virtio_net_perf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/TestSuite_perf_vm2vm_virtio_net_perf.py b/tests/TestSuite_perf_vm2vm_virtio_net_perf.py index ae8c975..4bf86c5 100644 --- a/tests/TestSuite_perf_vm2vm_virtio_net_perf.py +++ b/tests/TestSuite_perf_vm2vm_virtio_net_perf.py @@ -75,6 +75,7 @@ class TestPerfVM2VMVirtioNetPerf(TestCase): self.pmd_vhost = PmdOutput(self.dut, self.vhost) self.json_obj = dict() self.save_result_flag = True + self.path=self.dut.apps_name['test-pmd'] def set_up(self): """ @@ -162,12 +163,11 @@ class TestPerfVM2VMVirtioNetPerf(TestCase): zerocopy_arg = ",dequeue-zero-copy=1" else: zerocopy_arg = "" - testcmd = self.dut.target + "/app/testpmd " vdev1 = "--vdev 'net_vhost0,iface=%s/vhost-net0,queues=1%s' " % (self.base_dir, zerocopy_arg) vdev2 = "--vdev 'net_vhost1,iface=%s/vhost-net1,queues=1%s' " % (self.base_dir, zerocopy_arg) eal_params = self.dut.create_eal_parameters(cores=self.cores_list, prefix='vhost', no_pci=True) para = " -- -i --nb-cores=2 --txd=1024 --rxd=1024" - self.command_line = testcmd + eal_params + vdev1 + vdev2 + para + self.command_line = self.path + eal_params + vdev1 + vdev2 + para self.pmd_vhost.execute_cmd(self.command_line, timeout=30) self.pmd_vhost.execute_cmd('start', timeout=30) -- 1.8.3.1