test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] tests/kernelpf_iavf:fix a small bug
@ 2020-07-02  7:37 Xie wei
  0 siblings, 0 replies; 3+ messages in thread
From: Xie wei @ 2020-07-02  7:37 UTC (permalink / raw)
  To: dts; +Cc: Xie wei

modify the previous code problem.

Signed-off-by: Xie wei <weix.xie@intel.com>
---
 tests/TestSuite_kernelpf_iavf.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_kernelpf_iavf.py b/tests/TestSuite_kernelpf_iavf.py
index 6fb1bae..733d72f 100644
--- a/tests/TestSuite_kernelpf_iavf.py
+++ b/tests/TestSuite_kernelpf_iavf.py
@@ -981,7 +981,7 @@ class TestKernelpfIavf(TestCase):
         """
         Run after each test case.
         """
-        if self.running_case == "test_vf_rx_interrupt"::
+        if self.running_case == "test_vf_rx_interrupt":
             self.dut.send_expect("killall l3fwd-power", "# ", 60, alt_session=True)
             self.destroy_2vf_in_2pf()
         else:
-- 
2.17.1


^ permalink raw reply	[flat|nested] 3+ messages in thread
* [dts] [PATCH V1] tests/kernelpf_iavf:fix a small bug
@ 2020-07-02  7:53 Xie wei
  2020-07-02  8:38 ` Tu, Lijuan
  0 siblings, 1 reply; 3+ messages in thread
From: Xie wei @ 2020-07-02  7:53 UTC (permalink / raw)
  To: dts; +Cc: Xie wei

modify the previous code problem.

Signed-off-by: Xie wei <weix.xie@intel.com>
---
 tests/TestSuite_kernelpf_iavf.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_kernelpf_iavf.py b/tests/TestSuite_kernelpf_iavf.py
index 6fb1bae..733d72f 100644
--- a/tests/TestSuite_kernelpf_iavf.py
+++ b/tests/TestSuite_kernelpf_iavf.py
@@ -981,7 +981,7 @@ class TestKernelpfIavf(TestCase):
         """
         Run after each test case.
         """
-        if self.running_case == "test_vf_rx_interrupt"::
+        if self.running_case == "test_vf_rx_interrupt":
             self.dut.send_expect("killall l3fwd-power", "# ", 60, alt_session=True)
             self.destroy_2vf_in_2pf()
         else:
-- 
2.17.1


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

end of thread, other threads:[~2020-07-02  8:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-02  7:37 [dts] [PATCH V1] tests/kernelpf_iavf:fix a small bug Xie wei
2020-07-02  7:53 Xie wei
2020-07-02  8:38 ` Tu, Lijuan

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