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 3DA42A04B1; Wed, 26 Aug 2020 04:17:56 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 345571B94F; Wed, 26 Aug 2020 04:17:56 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 5C49D1F1C for ; Wed, 26 Aug 2020 04:17:55 +0200 (CEST) IronPort-SDR: bOWgiQGFZgXWfgXpAj//5dVuIyHfflTsIjDkV92HPtruoeuGU3Jz3iNpcOpgL02UHGoz23Q72U KhIW0sd59PRQ== X-IronPort-AV: E=McAfee;i="6000,8403,9724"; a="135776305" X-IronPort-AV: E=Sophos;i="5.76,354,1592895600"; d="scan'208";a="135776305" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Aug 2020 19:17:55 -0700 IronPort-SDR: YJewcJbvNfaNvVljMoXodBRUvkw3w22xMCbpwUmcZJ0joSYmlYddswmpDuN0/WvsmN8FH7q2zV P9i3vRIk2oDg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,354,1592895600"; d="scan'208";a="402925681" Received: from unknown (HELO localhost.localdomain) ([10.240.183.222]) by fmsmga001.fm.intel.com with ESMTP; 25 Aug 2020 19:17:53 -0700 From: lingwei To: dts@dpdk.org Cc: lingwei Date: Wed, 26 Aug 2020 10:15:18 +0000 Message-Id: <20200826101522.110423-3-weix.ling@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200826101522.110423-1-weix.ling@intel.com> References: <20200826101522.110423-1-weix.ling@intel.com> Subject: [dts] [dts 2/6] tests/TestSuite_af_xdp_2: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: lingwei --- tests/TestSuite_af_xdp_2.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/TestSuite_af_xdp_2.py b/tests/TestSuite_af_xdp_2.py index 4397597..f1d495f 100644 --- a/tests/TestSuite_af_xdp_2.py +++ b/tests/TestSuite_af_xdp_2.py @@ -188,9 +188,9 @@ class TestAfXdp(TestCase): eal_params = self.dut.create_eal_parameters(cores=self.core_list[:-max(self.port_num, self.vdev_num) * self.queue_number], vdevs=vdev, no_pci=True) - command_line = "./%s/app/testpmd %s --log-level=pmd.net.af_xdp:8 -- -i %s %s --auto-start --nb-cores=%d --rxq=%d --txq=%d %s" - command = command_line % (self.dut.target, eal_params, fwd_mode, rss_ip, - self.nb_cores, self.queue_number, self.queue_number, topology) + app_name = self.dut.apps_name['test-pmd'] + command = app_name + " %s --log-level=pmd.net.af_xdp:8 -- -i %s %s --auto-start --nb-cores=%d --rxq=%d " \ + "--txq=%d %s" % (eal_params, fwd_mode, rss_ip, self.nb_cores, self.queue_number, self.queue_number, topology) self.logger.info('start testpmd') self.dut.send_expect(command, "testpmd> ", 120) -- 2.17.1