test suite reviews and discussions
 help / color / mirror / Atom feed
From: lingwei <weix.ling@intel.com>
To: dts@dpdk.org
Cc: lingwei <weix.ling@intel.com>
Subject: [dts] [dts 3/6] tests/TestSuite_macsec_for_ixgbe.py:support meson build
Date: Wed, 26 Aug 2020 10:15:19 +0000	[thread overview]
Message-ID: <20200826101522.110423-4-weix.ling@intel.com> (raw)
In-Reply-To: <20200826101522.110423-1-weix.ling@intel.com>

Signed-off-by: lingwei <weix.ling@intel.com>
---
 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


  parent reply	other threads:[~2020-08-26  2:17 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-26 10:15 [dts] [PATCH V1 0/6] support " lingwei
2020-08-26 10:15 ` [dts] [dts 1/6] tests/TestSuite_metrics:support " lingwei
2020-08-26 10:15 ` [dts] [dts 2/6] tests/TestSuite_af_xdp_2:support " lingwei
2020-08-26 10:15 ` lingwei [this message]
2020-08-26 10:15 ` [dts] [dts 4/6] tests/TestSuite_packet_ordering:support " lingwei
2020-08-26 10:15 ` [dts] [dts 5/6] tests/TestSuite_qos_meter.py:support " lingwei
2020-08-26 10:15 ` [dts] [dts 6/6] tests/TestSuite_vmdq_dcb:support " lingwei
2020-08-27  5:06 ` [dts] [PATCH V1 0/6] support " Tu, Lijuan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200826101522.110423-4-weix.ling@intel.com \
    --to=weix.ling@intel.com \
    --cc=dts@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).