test suite reviews and discussions
 help / color / mirror / Atom feed
From: Xie wei <weix.xie@intel.com>
To: dts@dpdk.org
Cc: Xie wei <weix.xie@intel.com>
Subject: [dts] [PATCH V1 5/5] tests/TestSuite_dcf_lifecycle:support meson build method
Date: Fri, 11 Sep 2020 10:57:58 +0800	[thread overview]
Message-ID: <20200911025758.9246-6-weix.xie@intel.com> (raw)
In-Reply-To: <20200911025758.9246-1-weix.xie@intel.com>

Signed-off-by: Xie wei <weix.xie@intel.com>
---
 tests/TestSuite_dcf_lifecycle.py | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/tests/TestSuite_dcf_lifecycle.py b/tests/TestSuite_dcf_lifecycle.py
index 6be7b24..76c29f8 100644
--- a/tests/TestSuite_dcf_lifecycle.py
+++ b/tests/TestSuite_dcf_lifecycle.py
@@ -302,8 +302,7 @@ class TestDcfLifeCycle(TestCase):
         return output
 
     def init_vf_dcf_testpmd(self):
-        self.vf_dcf_testpmd = "{}/{}/app/testpmd".format(
-            self.target_dir, self.dut.target)
+        self.vf_dcf_testpmd = self.dut.apps_name['test-pmd']
 
     def start_vf_dcf_testpmd(self, pmd_opiton):
         whitelist_name, prefix = pmd_opiton
@@ -359,16 +358,15 @@ class TestDcfLifeCycle(TestCase):
         return output
 
     def create_vf_testpmd2(self):
-        self.vf_testpmd2 = "{}/{}/app/testpmd_vf".format(
-            self.target_dir, self.dut.target)
-        cmd = 'rm -f {vf_pmd2};cp {vf_dcf_pmd} {vf_pmd2}'.format(
+        self.vf_testpmd2 = self.dut.apps_name['testpmd_vf']
+        cmd = 'rm -f /root/dpdk/{vf_pmd2};cp /root/dpdk/{vf_dcf_pmd} /root/dpdk/{vf_pmd2}'.format(
             **{'vf_dcf_pmd': self.vf_dcf_testpmd, 'vf_pmd2': self.vf_testpmd2})
         self.d_a_con(cmd)
 
     def init_vf_testpmd2(self):
         self.create_vf_testpmd2()
         self.vf_pmd2_session_name = 'vf_testpmd2'
-        self.vf_pmd2_session = self.dut.create_session(
+        self.vf_pmd2_session = self.dut.new_session(
             self.vf_pmd2_session_name)
 
     def start_vf_testpmd2(self, pmd_opiton):
-- 
2.17.1


  parent reply	other threads:[~2020-09-11  2:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-11  2:57 [dts] [PATCH V1 0/5] support " Xie wei
2020-09-11  2:57 ` [dts] [PATCH V1 1/5] tests/TestSuite_iavf_package_driver_error_handle:support " Xie wei
2020-09-11  2:57 ` [dts] [PATCH V1 2/5] tests/TestSuite_enable_package_download_in_ice_driver:support " Xie wei
2020-09-11  2:57 ` [dts] [PATCH V1 3/5] tests/TestSuite_rteflow_priority:support " Xie wei
2020-09-11  2:57 ` [dts] [PATCH V1 4/5] tests/TestSuite_iavf_fdir:support " Xie wei
2020-09-11  2:57 ` Xie wei [this message]
2020-09-15  8:42 ` [dts] [PATCH V1 0/5] 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=20200911025758.9246-6-weix.xie@intel.com \
    --to=weix.xie@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).