From: Xie wei <weix.xie@intel.com>
To: dts@dpdk.org
Cc: Xie wei <weix.xie@intel.com>
Subject: [dts] [dts 3/8] tests/TestSuite_runtime_vf_queue_number:support meson build method
Date: Wed, 2 Sep 2020 17:15:05 +0800 [thread overview]
Message-ID: <20200902091510.6043-4-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.py | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/tests/TestSuite_runtime_vf_queue_number.py b/tests/TestSuite_runtime_vf_queue_number.py
index 93caf9e..8d8a6f7 100644
--- a/tests/TestSuite_runtime_vf_queue_number.py
+++ b/tests/TestSuite_runtime_vf_queue_number.py
@@ -297,13 +297,12 @@ class TestRuntimeVfQn(TestCase):
gest_eal_param = '-w %s --file-prefix=test2' % self.vm_dut_0.ports_info[0]['pci']
self.vm0_testpmd = PmdOutput(self.vm_dut_0)
- command_0 = "./%s/app/testpmd -c %s -n %d %s -- -i %s" \
- % (self.dut.target, '0xf', self.dut.get_memory_channels(), gest_eal_param, ' --rxq=0 --txq=0')
+ app_name = self.dut.apps_name['test-pmd']
+ command_0 = app_name + "-c %s -n %d %s -- -i %s" % ('0xf', self.dut.get_memory_channels(), gest_eal_param, ' --rxq=0 --txq=0')
outstring = self.vm0_testpmd.execute_cmd(command_0, expected='# ')
self.verify("Either rx or tx queues should be non-zero" in outstring, "The output of testpmd start is different from expect when set invalid VF queue number 0.")
time.sleep(2)
- command_17 = "./%s/app/testpmd -c %s -n %d %s -- -i %s" \
- % (self.dut.target, '0xf', self.dut.get_memory_channels(), gest_eal_param, ' --rxq=17 --txq=17')
+ command_17 = app_name + "-c %s -n %d %s -- -i %s" % ('0xf', self.dut.get_memory_channels(), gest_eal_param, ' --rxq=17 --txq=17')
outstring1 = self.vm0_testpmd.execute_cmd(command_17, expected='# ')
self.verify("rxq 17 invalid - must be >= 0 && <= 16" in outstring1,
"The output of testpmd start is different from expect when set invalid VF queue number 17.")
--
2.17.1
next prev 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 ` Xie wei [this message]
2020-09-02 9:15 ` [dts] [dts 4/8] tests/TestSuite_runtime_vf_queue_number_kernel:support " Xie wei
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-4-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).