[dts] [PATCH] tests/TestSuite_eventdev_perf.py : Moved Unbind_eventdev_port function call to tear_down_all tests/TestSuite_eventdev_pipeline_perf.py : Moved Unbind_eventdev_port function call to tear_down_all
thaq at marvell.com
thaq at marvell.com
Mon Jul 1 07:58:51 CEST 2019
From: Thanseerulhaq <thaq at marvell.com>
Signed-off-by: Thanseerulhaq <thaq at marvell.com>
---
tests/TestSuite_eventdev_perf.py | 4 ++--
tests/TestSuite_eventdev_pipeline_perf.py | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/TestSuite_eventdev_perf.py b/tests/TestSuite_eventdev_perf.py
index d950a87..a2520a8 100644
--- a/tests/TestSuite_eventdev_perf.py
+++ b/tests/TestSuite_eventdev_perf.py
@@ -1596,11 +1596,11 @@ class TestEventdevPerf(TestCase,IxiaPacketGenerator):
"""
Run after each test case.
"""
- self.dut.send_expect("^C", "# ", 5)
- self.dut.unbind_eventdev_port(port_to_unbind=self.eventdev_device_bus_id)
def tear_down_all(self):
"""
Run after each test suite.
"""
+ self.dut.send_expect("^C", "# ", 5)
+ self.dut.unbind_eventdev_port(port_to_unbind=self.eventdev_device_bus_id)
self.dut.kill_all()
diff --git a/tests/TestSuite_eventdev_pipeline_perf.py b/tests/TestSuite_eventdev_pipeline_perf.py
index 1d8a374..6a4bcad 100644
--- a/tests/TestSuite_eventdev_pipeline_perf.py
+++ b/tests/TestSuite_eventdev_pipeline_perf.py
@@ -824,11 +824,11 @@ class TestEventdevPipelinePerf(TestCase,IxiaPacketGenerator):
"""
Run after each test case.
"""
- self.dut.send_expect("^C", "# ", 5)
- self.dut.unbind_eventdev_port(port_to_unbind=self.eventdev_device_bus_id)
def tear_down_all(self):
"""
Run after each test suite.
"""
+ self.dut.send_expect("^C", "# ", 5)
+ self.dut.unbind_eventdev_port(port_to_unbind=self.eventdev_device_bus_id)
self.dut.kill_all()
--
1.8.3.1
More information about the dts
mailing list