[dts] [PATCH V1] tests/flags:case should unbind its own driver

Lijuan Tu lijuan.tu at intel.com
Mon Dec 24 20:35:48 CET 2018


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 at 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):
>           """



More information about the dts mailing list