test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH] fix cannot get output bug of timer
@ 2015-10-23  6:38 xu,huilong
  2015-10-23  6:39 ` [dts] [PATCH] fix cannot get output bug of ieee1588 xu,huilong
  2015-10-23  7:40 ` [dts] [PATCH] fix cannot get output bug of timer Liu, Yong
  0 siblings, 2 replies; 4+ messages in thread
From: xu,huilong @ 2015-10-23  6:38 UTC (permalink / raw)
  To: dts

From: haifeng <haifengx.tang@intel.com>

Signed-off-by: haifeng <haifengx.tang@intel.com>
---
 tests/TestSuite_timer.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/TestSuite_timer.py b/tests/TestSuite_timer.py
index 7b88d56..765770d 100644
--- a/tests/TestSuite_timer.py
+++ b/tests/TestSuite_timer.py
@@ -76,7 +76,8 @@ class TestTimer(TestCase):
 
         self.dut.send_expect(cmdline, "# ", 1)
         time.sleep(15)
-        out = self.dut.send_expect("killall timer", "# ", 5)
+        out = self.dut.get_session_output()
+        self.dut.send_expect("killall timer", "# ", 5)
 
         # verify timer0
         dts.regexp(out, r'timer0_cb\(\) on lcore (\d+)')
-- 
1.9.3

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [dts] [PATCH] fix cannot get output bug of ieee1588
  2015-10-23  6:38 [dts] [PATCH] fix cannot get output bug of timer xu,huilong
@ 2015-10-23  6:39 ` xu,huilong
  2015-10-23  7:40   ` Liu, Yong
  2015-10-23  7:40 ` [dts] [PATCH] fix cannot get output bug of timer Liu, Yong
  1 sibling, 1 reply; 4+ messages in thread
From: xu,huilong @ 2015-10-23  6:39 UTC (permalink / raw)
  To: dts

From: haifeng <haifengx.tang@intel.com>

Signed-off-by: haifeng <haifengx.tang@intel.com>
---
 tests/TestSuite_ieee1588.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/TestSuite_ieee1588.py b/tests/TestSuite_ieee1588.py
index e23f8fb..723ca40 100644
--- a/tests/TestSuite_ieee1588.py
+++ b/tests/TestSuite_ieee1588.py
@@ -99,7 +99,8 @@ class TestIeee1588(TestCase):
         # self.verify("\\x00\\x02" in out, "Payload wrong in PTP")
 
         time.sleep(1)
-        out = self.dut.send_expect("stop", "testpmd> ")
+        out = self.dut.get_session_output()
+        self.dut.send_expect("stop", "testpmd> ")
 
         text = dts.regexp(out, "(.*) by hardware")
         self.verify("IEEE1588 PTP V2 SYNC" in text, "Not filtered " + text)
-- 
1.9.3

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dts] [PATCH] fix cannot get output bug of timer
  2015-10-23  6:38 [dts] [PATCH] fix cannot get output bug of timer xu,huilong
  2015-10-23  6:39 ` [dts] [PATCH] fix cannot get output bug of ieee1588 xu,huilong
@ 2015-10-23  7:40 ` Liu, Yong
  1 sibling, 0 replies; 4+ messages in thread
From: Liu, Yong @ 2015-10-23  7:40 UTC (permalink / raw)
  To: xu,huilong, dts

Applied, thanks.

On 10/23/2015 02:38 PM, xu,huilong wrote:
> From: haifeng <haifengx.tang@intel.com>
>
> Signed-off-by: haifeng <haifengx.tang@intel.com>
> ---
>   tests/TestSuite_timer.py | 3 ++-
>   1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/tests/TestSuite_timer.py b/tests/TestSuite_timer.py
> index 7b88d56..765770d 100644
> --- a/tests/TestSuite_timer.py
> +++ b/tests/TestSuite_timer.py
> @@ -76,7 +76,8 @@ class TestTimer(TestCase):
>   
>           self.dut.send_expect(cmdline, "# ", 1)
>           time.sleep(15)
> -        out = self.dut.send_expect("killall timer", "# ", 5)
> +        out = self.dut.get_session_output()
> +        self.dut.send_expect("killall timer", "# ", 5)
>   
>           # verify timer0
>           dts.regexp(out, r'timer0_cb\(\) on lcore (\d+)')

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dts] [PATCH] fix cannot get output bug of ieee1588
  2015-10-23  6:39 ` [dts] [PATCH] fix cannot get output bug of ieee1588 xu,huilong
@ 2015-10-23  7:40   ` Liu, Yong
  0 siblings, 0 replies; 4+ messages in thread
From: Liu, Yong @ 2015-10-23  7:40 UTC (permalink / raw)
  To: xu,huilong, dts

Applied, thanks.

On 10/23/2015 02:39 PM, xu,huilong wrote:
> From: haifeng <haifengx.tang@intel.com>
>
> Signed-off-by: haifeng <haifengx.tang@intel.com>
> ---
>   tests/TestSuite_ieee1588.py | 3 ++-
>   1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/tests/TestSuite_ieee1588.py b/tests/TestSuite_ieee1588.py
> index e23f8fb..723ca40 100644
> --- a/tests/TestSuite_ieee1588.py
> +++ b/tests/TestSuite_ieee1588.py
> @@ -99,7 +99,8 @@ class TestIeee1588(TestCase):
>           # self.verify("\\x00\\x02" in out, "Payload wrong in PTP")
>   
>           time.sleep(1)
> -        out = self.dut.send_expect("stop", "testpmd> ")
> +        out = self.dut.get_session_output()
> +        self.dut.send_expect("stop", "testpmd> ")
>   
>           text = dts.regexp(out, "(.*) by hardware")
>           self.verify("IEEE1588 PTP V2 SYNC" in text, "Not filtered " + text)

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-10-23  7:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-23  6:38 [dts] [PATCH] fix cannot get output bug of timer xu,huilong
2015-10-23  6:39 ` [dts] [PATCH] fix cannot get output bug of ieee1588 xu,huilong
2015-10-23  7:40   ` Liu, Yong
2015-10-23  7:40 ` [dts] [PATCH] fix cannot get output bug of timer Liu, Yong

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).