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] [dts 4/8] tests/TestSuite_runtime_vf_queue_number_kernel:support meson build method
Date: Wed,  2 Sep 2020 17:15:06 +0800	[thread overview]
Message-ID: <20200902091510.6043-5-weix.xie@intel.com> (raw)
In-Reply-To: <20200902091510.6043-1-weix.xie@intel.com>

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

diff --git a/tests/TestSuite_runtime_vf_queue_number_kernel.py b/tests/TestSuite_runtime_vf_queue_number_kernel.py
index 05db5a0..fe4bea0 100644
--- a/tests/TestSuite_runtime_vf_queue_number_kernel.py
+++ b/tests/TestSuite_runtime_vf_queue_number_kernel.py
@@ -208,9 +208,9 @@ class TestRuntimeVfQueueNumberKernel(TestCase):
         for i in invalid_queue_num:
             self.vm0_testpmd = PmdOutput(self.vm_dut_0)
             self.vm_dut_0.session_secondary = self.vm_dut_0.new_session()
-            out = self.vm_dut_0.session_secondary.send_expect(
-                './x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 1 -w %s -- -i --txq=%s --rxq=%s' % (
-                    self.vm_dut_0.vm_pci0, i, i), '# ', 40)
+            app_name = self.vm_dut_0.apps_name['test-pmd']
+            cmd = app_name + "-c 0xf -n 1 -w %s -- -i --txq=%s --rxq=%s" % (self.vm_dut_0.vm_pci0, i, i)
+            out = self.vm_dut_0.session_secondary.send_expect(cmd, "# ", 40)
             if i == 0:
                 self.verify('Either rx or tx queues should be non-zero' in out, "queue number can't be zero")
             else:
-- 
2.17.1


  parent reply	other threads:[~2020-09-02  9:14 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-02  9:15 [dts] [PATCH V1 0/8] support " Xie wei
2020-09-02  9:15 ` [dts] [dts 1/8] tests/TestSuite_flow_filtering:support " Xie wei
2020-09-02  9:15 ` [dts] [dts 2/8] tests/TestSuite_port_control:support " Xie wei
2020-09-02  9:15 ` [dts] [dts 3/8] tests/TestSuite_runtime_vf_queue_number:support " Xie wei
2020-09-02  9:15 ` Xie wei [this message]
2020-09-02  9:15 ` [dts] [dts 5/8] tests/TestSuite_veb_switch:support " Xie wei
2020-09-02  9:15 ` [dts] [dts 6/8] tests/TestSuite_vf_interrupt_pmd:support " Xie wei
2020-09-02  9:15 ` [dts] [dts 7/8] tests/TestSuite_vm_power_manager:support " Xie wei
2020-09-02  9:15 ` [dts] [dts 8/8] tests/TestSuite_floating_veb:support " Xie wei
2020-09-02  9:30 ` [dts] [PATCH V1 0/8] support " Xie, WeiX
2020-09-04  6:07 ` Ma, LihongX
2020-09-09  8:27 ` 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=20200902091510.6043-5-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).