* [dts] [PATCH V1] tests/flags:case should unbind its own driver
@ 2018-12-24 10:51 yaobing
2018-12-24 19:35 ` Lijuan Tu
0 siblings, 1 reply; 2+ messages in thread
From: yaobing @ 2018-12-24 10:51 UTC (permalink / raw)
To: dts; +Cc: yaobing
Different environments have their own drivers, and the default driver
is igb_uio, which should add parameters to pass in its own driver
Signed-off-by: yaobing <bingx.y.yao@intel.com>
---
tests/TestSuite_unit_tests_eal.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/TestSuite_unit_tests_eal.py b/tests/TestSuite_unit_tests_eal.py
index 74d0dfd..8299b51 100644
--- a/tests/TestSuite_unit_tests_eal.py
+++ b/tests/TestSuite_unit_tests_eal.py
@@ -261,13 +261,13 @@ class TestUnitTestsEal(TestCase):
Run eal flags autotest.
"""
- self.dut.unbind_interfaces_linux()
+ self.dut.unbind_interfaces_linux(driver=self.drivername)
self.dut.send_expect(self.test_app_cmdline + ' -m 64', "R.*T.*E.*>.*>", self.start_test_time)
# on FreeBSD need more time than other OS
out = self.dut.send_expect("eal_flags_autotest", "RTE>>", 600)
self.dut.send_expect("quit", "# ")
self.verify("Test OK" in out, "Test failed")
- self.dut.bind_interfaces_linux()
+ self.dut.bind_interfaces_linux(driver=self.drivername)
def test_alarm(self):
"""
--
2.17.2
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dts] [PATCH V1] tests/flags:case should unbind its own driver
2018-12-24 10:51 [dts] [PATCH V1] tests/flags:case should unbind its own driver yaobing
@ 2018-12-24 19:35 ` Lijuan Tu
0 siblings, 0 replies; 2+ messages in thread
From: Lijuan Tu @ 2018-12-24 19:35 UTC (permalink / raw)
To: yaobing, dts
Applied, thanks
On 2018年12月24日 18:51, yaobing wrote:
> Different environments have their own drivers, and the default driver
> is igb_uio, which should add parameters to pass in its own driver
>
> Signed-off-by: yaobing <bingx.y.yao@intel.com>
> ---
> tests/TestSuite_unit_tests_eal.py | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/tests/TestSuite_unit_tests_eal.py b/tests/TestSuite_unit_tests_eal.py
> index 74d0dfd..8299b51 100644
> --- a/tests/TestSuite_unit_tests_eal.py
> +++ b/tests/TestSuite_unit_tests_eal.py
> @@ -261,13 +261,13 @@ class TestUnitTestsEal(TestCase):
> Run eal flags autotest.
> """
>
> - self.dut.unbind_interfaces_linux()
> + self.dut.unbind_interfaces_linux(driver=self.drivername)
> self.dut.send_expect(self.test_app_cmdline + ' -m 64', "R.*T.*E.*>.*>", self.start_test_time)
> # on FreeBSD need more time than other OS
> out = self.dut.send_expect("eal_flags_autotest", "RTE>>", 600)
> self.dut.send_expect("quit", "# ")
> self.verify("Test OK" in out, "Test failed")
> - self.dut.bind_interfaces_linux()
> + self.dut.bind_interfaces_linux(driver=self.drivername)
>
> def test_alarm(self):
> """
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-12-24 11:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-24 10:51 [dts] [PATCH V1] tests/flags:case should unbind its own driver yaobing
2018-12-24 19:35 ` Lijuan Tu
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).