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 3799FA04C7; Fri, 18 Sep 2020 07:29:04 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1D2911D722; Fri, 18 Sep 2020 07:29:04 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 67E2A1D6D9 for ; Fri, 18 Sep 2020 07:29:03 +0200 (CEST) IronPort-SDR: 7uRbTGC7PHyKHBuT/Jv4kV9a3upNe7Kr+7hebkrqWmedv2O+Nqj95+2/AP2MgD4jGXBL0H3sqD 5pa1LF8IEDyg== X-IronPort-AV: E=McAfee;i="6000,8403,9747"; a="244696423" X-IronPort-AV: E=Sophos;i="5.77,273,1596524400"; d="scan'208";a="244696423" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Sep 2020 22:28:59 -0700 IronPort-SDR: JdMCthJ7C7GE/OUZIDVME8Zy5yyXygdcFTvpyOc0mS8jvP7B9eyDBPE34LsbE9+wwA9c0Reamf Jcnw+dbbLOjA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,273,1596524400"; d="scan'208";a="320492443" Received: from unknown (HELO localhost.localdomain) ([10.240.183.80]) by orsmga002.jf.intel.com with ESMTP; 17 Sep 2020 22:28:58 -0700 From: "Jiang, YuX" To: dts@dpdk.org Cc: JiangYu Date: Fri, 18 Sep 2020 13:26:20 +0800 Message-Id: <20200918052626.9525-2-yux.jiang@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200918052626.9525-1-yux.jiang@intel.com> References: <20200918052626.9525-1-yux.jiang@intel.com> Subject: [dts] [PATCH V1 1/7] tests/TestSuite_vm2vm_virtio_pmd: 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" From: JiangYu Adapt testpmd_name Signed-off-by: JiangYu --- tests/TestSuite_vm2vm_virtio_pmd.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/TestSuite_vm2vm_virtio_pmd.py b/tests/TestSuite_vm2vm_virtio_pmd.py index 5adeb2f..a5c4032 100644 --- a/tests/TestSuite_vm2vm_virtio_pmd.py +++ b/tests/TestSuite_vm2vm_virtio_pmd.py @@ -61,6 +61,7 @@ class TestVM2VMVirtioPMD(TestCase): self.pci_info = self.dut.ports_info[0]['pci'] self.app_testpmd_path = self.dut.apps_name['test-pmd'] self.app_pdump = self.dut.apps_name['pdump'] + self.testpmd_name = self.app_testpmd_path.split("/")[-1] def set_up(self): """ @@ -69,7 +70,7 @@ class TestVM2VMVirtioPMD(TestCase): self.table_header = ["FrameSize(B)", "Mode", "Throughput(Mpps)", "Queue Number", "Path"] self.result_table_create(self.table_header) - self.dut.send_expect("killall -s INT testpmd", "#") + self.dut.send_expect("killall -s INT %s" % self.testpmd_name, "#") self.dut.send_expect("killall -s INT qemu-system-x86_64", "#") self.dut.send_expect("rm -rf %s/vhost-net*" % self.base_dir, "#") self.vm_dut = [] -- 2.7.4