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 6460AA04B1; Wed, 26 Aug 2020 04:17:58 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5705058C4; Wed, 26 Aug 2020 04:17:58 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 4AC801F1C for ; Wed, 26 Aug 2020 04:17:57 +0200 (CEST) IronPort-SDR: 4JcThOO6+0usE96eTJ4OBeKvDqa7r5NKzsBroiT3UmCeEf+FZ3zdS5KASmoRaTPSp3BI80BuU9 TL7WQBsXymZw== X-IronPort-AV: E=McAfee;i="6000,8403,9724"; a="135776307" X-IronPort-AV: E=Sophos;i="5.76,354,1592895600"; d="scan'208";a="135776307" 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:56 -0700 IronPort-SDR: +k63xw58dBLAMyz43DsaxayPcfv3efOHUDYDffYmTQhyYrbgbuFCZg5flZ7MfBIyRTKEytx0Fy CtkzC9/n/gFw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,354,1592895600"; d="scan'208";a="402925687" Received: from unknown (HELO localhost.localdomain) ([10.240.183.222]) by fmsmga001.fm.intel.com with ESMTP; 25 Aug 2020 19:17:56 -0700 From: lingwei To: dts@dpdk.org Cc: lingwei Date: Wed, 26 Aug 2020 10:15:19 +0000 Message-Id: <20200826101522.110423-4-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 3/6] tests/TestSuite_macsec_for_ixgbe.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: lingwei --- tests/TestSuite_macsec_for_ixgbe.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tests/TestSuite_macsec_for_ixgbe.py b/tests/TestSuite_macsec_for_ixgbe.py index a50173a..4b010d0 100644 --- a/tests/TestSuite_macsec_for_ixgbe.py +++ b/tests/TestSuite_macsec_for_ixgbe.py @@ -70,17 +70,20 @@ class TestMacsecForIxgbe(TestCase): def start_testpmd_rx(self): eal_params = self.dut.create_eal_parameters(cores=self.core_list[0:2], ports=[self.pci_rx], prefix='rx') - cmd_rx = self.target + '/app/testpmd ' + eal_params + '-- -i --port-topology=chained' + app_name = self.dut.apps_name['test-pmd'] + cmd_rx = app_name + eal_params + '-- -i --port-topology=chained' return self.dut.send_expect(cmd_rx, "testpmd", 120) def start_testpmd_tx(self): eal_params = self.dut.create_eal_parameters(cores=self.core_list[2:4], ports=[self.pci_tx], prefix='tx') - cmd_tx = self.target + '/app/testpmd ' + eal_params + '-- -i --port-topology=chained' + app_name = self.dut.apps_name['test-pmd'] + cmd_tx = app_name + eal_params + '-- -i --port-topology=chained' return self.session_sec.send_expect(cmd_tx, "testpmd", 120) def start_testpmd_perf(self): eal_params = self.dut.create_eal_parameters(cores=self.core_list[0:2]) - cmd = self.target + '/app/testpmd ' + eal_params + '-- -i --port-topology=chained' + app_name = self.dut.apps_name['test-pmd'] + cmd = app_name + eal_params + '-- -i --port-topology=chained' self.dut.send_expect(cmd, "testpmd", 120) self.rx_set_macsec_offload('on', 'on') self.dut.send_expect("set fwd mac", "testpmd>", 2) -- 2.17.1