From: Xie wei <weix.xie@intel.com>
To: dts@dpdk.org
Cc: Xie wei <weix.xie@intel.com>
Subject: [dts] [PATCH V1] tests/TestSuite_kernelpf_iavf:support meson build method
Date: Tue, 15 Sep 2020 11:10:57 +0800 [thread overview]
Message-ID: <20200915031057.15453-1-weix.xie@intel.com> (raw)
support meson build method
Signed-off-by: Xie wei <weix.xie@intel.com>
---
tests/TestSuite_kernelpf_iavf.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/TestSuite_kernelpf_iavf.py b/tests/TestSuite_kernelpf_iavf.py
index f8fa94f0..66389a29 100644
--- a/tests/TestSuite_kernelpf_iavf.py
+++ b/tests/TestSuite_kernelpf_iavf.py
@@ -863,7 +863,7 @@ class TestKernelpfIavf(TestCase):
self.bind_nic_driver(self.dut_ports, driver="")
self.create_2vf_in_host()
# start l3fwd-power
- l3fwd_app = "./examples/l3fwd-power/build/l3fwd-power"
+ l3fwd_app = self.dut.apps_name['l3fwd-power']
cmd = l3fwd_app + " -l 6,7 -n 4 -- -p 0x3 --config " + \
"'(0,0,6),(1,0,7)'"
@@ -979,7 +979,7 @@ class TestKernelpfIavf(TestCase):
Run after each test case.
"""
if self.running_case == "test_vf_rx_interrupt":
- self.dut.send_expect("killall l3fwd-power", "# ", 60, alt_session=True)
+ self.dut.send_expect("killall %s" % self.dut.apps_name['l3fwd-power'].strip().split('/')[-1], "# ", 60, alt_session=True)
self.destroy_2vf_in_2pf()
else:
self.vm_testpmd.execute_cmd("quit", "#")
--
2.17.1
next reply other threads:[~2020-09-15 3:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-15 3:10 Xie wei [this message]
2020-09-15 3:09 ` Xie, WeiX
2020-09-15 8:56 ` 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=20200915031057.15453-1-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).