From patchwork Wed Sep 2 09:15:04 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Xie, WeiX" X-Patchwork-Id: 76307 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id DFCC2A04B7; Wed, 2 Sep 2020 11:14:17 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C14FC1C07B; Wed, 2 Sep 2020 11:14:17 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id EF1E01C066 for ; Wed, 2 Sep 2020 11:14:15 +0200 (CEST) IronPort-SDR: lFmmN2qBs4AemtAXED9FaG8fhvKnezEfRe5kaxcukHfsnULfsxkuDYw7JHH+ug6kEvC8ZBcGcf Ij9PatJ1NM5Q== X-IronPort-AV: E=McAfee;i="6000,8403,9731"; a="158348263" X-IronPort-AV: E=Sophos;i="5.76,381,1592895600"; d="scan'208";a="158348263" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Sep 2020 02:14:15 -0700 IronPort-SDR: lz2gI7QLeUKy6LWB4L7YwgjcSqcGFHJYriwLPpaI0F2kQWWvgYqtaf6xffoNeE6n/MvAOcbAuS 4hgFJAMVdb8A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,381,1592895600"; d="scan'208";a="405099279" Received: from unknown (HELO localhost.localdomain) ([10.240.183.80]) by fmsmga001.fm.intel.com with ESMTP; 02 Sep 2020 02:14:13 -0700 From: Xie wei To: dts@dpdk.org Cc: Xie wei Date: Wed, 2 Sep 2020 17:15:04 +0800 Message-Id: <20200902091510.6043-3-weix.xie@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200902091510.6043-1-weix.xie@intel.com> References: <20200902091510.6043-1-weix.xie@intel.com> Subject: [dts] [dts 2/8] tests/TestSuite_port_control:support meson build method 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: Xie wei --- tests/TestSuite_port_control.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/TestSuite_port_control.py b/tests/TestSuite_port_control.py index 147dc80..e8d96f5 100644 --- a/tests/TestSuite_port_control.py +++ b/tests/TestSuite_port_control.py @@ -158,7 +158,8 @@ class TestPortControl(TestCase): terminal.send_expect("ifconfig %s up" % vf_if[1], "#") terminal.send_expect("ip addr flush %s " % vf_if[1], "#") terminal.send_expect("./usertools/dpdk-devbind.py -b vfio-pci --force %s" % vf_pci[1], "#") - cmd = "./%s/app/testpmd -n 1 -w %s --vfio-intr=legacy -- -i" % (self.target, vf_pci[1]) + app_name = terminal.apps_name['test-pmd'] + cmd = app_name + "-n 1 -w %s --vfio-intr=legacy -- -i" % vf_pci[1] terminal.send_expect(cmd, "testpmd>", 10) def start_testpmd(self, terminal):