From: "Liu, Yong" <yong.liu@intel.com>
To: "Tang, HaifengX" <haifengx.tang@intel.com>,
"dts@dpdk.org" <dts@dpdk.org>
Subject: Re: [dts] [PATCH] fix test script get the output from the pmd driver correctly if the command inputs aren't from tester side
Date: Fri, 23 Oct 2015 05:29:12 +0000 [thread overview]
Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E10F324E9@SHSMSX103.ccr.corp.intel.com> (raw)
In-Reply-To: <1445577728-34518-1-git-send-email-haifengx.tang@intel.com>
Haifeng, please remove your debug code.
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of haifeng
> Sent: Friday, October 23, 2015 1:22 PM
> To: dts@dpdk.org
> Subject: [dts] [PATCH] fix test script get the output from the pmd driver
> correctly if the command inputs aren't from tester side
>
> Signed-off-by: haifeng <haifengx.tang@intel.com>
> ---
> tests/TestSuite_fdir.py | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/tests/TestSuite_fdir.py b/tests/TestSuite_fdir.py
> index f186eb2..8c2f6fd 100644
> --- a/tests/TestSuite_fdir.py
> +++ b/tests/TestSuite_fdir.py
> @@ -99,7 +99,8 @@ class TestFdir(TestCase, IxiaPacketGenerator):
> self.dut.send_expect("start", "testpmd>")
> self.tester.scapy_execute()
> time.sleep(.5)
> - out = self.dut.session.get_session_before()
> + out = self.dut.get_session_output()
> + print out
> self.dut.send_expect("stop", "testpmd>")
>
> if(self.nic in ["kawela", "niantic", "fortville_eagle",
> "fortville_spirit", "fortville_spirit_single"]):
> --
> 1.9.3
next prev parent reply other threads:[~2015-10-23 5:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-23 5:22 haifeng
2015-10-23 5:29 ` Liu, Yong [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-10-23 4:59 haifeng
2015-10-23 5:14 ` Liu, Yong
2015-10-23 5:27 ` Tang, HaifengX
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=86228AFD5BCD8E4EBFD2B90117B5E81E10F324E9@SHSMSX103.ccr.corp.intel.com \
--to=yong.liu@intel.com \
--cc=dts@dpdk.org \
--cc=haifengx.tang@intel.com \
/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).