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 6/6] tests/TestSuite_vmdq_dcb:support meson build
Date: Wed, 26 Aug 2020 10:15:22 +0000	[thread overview]
Message-ID: <20200826101522.110423-7-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_vmdq_dcb.py | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/tests/TestSuite_vmdq_dcb.py b/tests/TestSuite_vmdq_dcb.py
index 6c71365..70d3dc4 100644
--- a/tests/TestSuite_vmdq_dcb.py
+++ b/tests/TestSuite_vmdq_dcb.py
@@ -86,7 +86,7 @@ class TestVmdqDcb(TestCase):
         """
         Build example "Vmdq_dcb".
         """
-        out = self.dut.send_expect("make -C examples/vmdq_dcb", "#", 10)
+        out = self.dut.build_dpdk_apps("examples/vmdq_dcb")
         self.verify("Error" not in out, "Compilation error")
 
     def rebuild_dpdk(self, nb_queue_per_vm=4):
@@ -114,8 +114,10 @@ class TestVmdqDcb(TestCase):
         for i in self.dut_ports:
             eal_param += " -w %s" % self.dut.ports_info[i]['pci']
         # Run the application
-        self.dut.send_expect("./examples/vmdq_dcb/build/vmdq_dcb_app -c %s -n 4 %s -- -p %s --nb-pools %s --nb-tcs %s "
-                             "--enable-rss" % (core_mask, eal_param, port_mask, str(npools), str(ntcs)), "reading queues", 120)
+        app_name = self.dut.apps_name['vmdq_dcb']
+        command = app_name + "-c %s -n 4 %s -- -p %s --nb-pools %s --nb-tcs %s " \
+                             "--enable-rss" % (core_mask, eal_param, port_mask, str(npools), str(ntcs))
+        self.dut.send_expect(command, "reading queues", 120)
 
     def create_pcaps(self, prios):
         """
-- 
2.17.1


  parent reply	other threads:[~2020-08-26  2:18 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 ` [dts] [dts 3/6] tests/TestSuite_macsec_for_ixgbe.py:support " lingwei
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 ` lingwei [this message]
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-7-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).