From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 8D67B1B20A for ; Mon, 24 Dec 2018 12:08:06 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Dec 2018 03:08:05 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,391,1539673200"; d="scan'208";a="132490092" Received: from dts-maintain.sh.intel.com (HELO [10.67.119.110]) ([10.67.119.110]) by fmsmga001.fm.intel.com with ESMTP; 24 Dec 2018 03:08:04 -0800 To: yaobing , dts@dpdk.org References: <1545648719-57312-1-git-send-email-bingx.y.yao@intel.com> From: Lijuan Tu Message-ID: Date: Tue, 25 Dec 2018 03:35:48 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <1545648719-57312-1-git-send-email-bingx.y.yao@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Subject: Re: [dts] [PATCH V1] tests/flags:case should unbind its own driver X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Dec 2018 11:08:07 -0000 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 > --- > 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): > """