From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 2A6B71B399 for ; Mon, 24 Dec 2018 11:48:46 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Dec 2018 02:48:45 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,391,1539673200"; d="scan'208";a="121332536" Received: from unknown (HELO localhost.localdomain.sh.intel.com) ([10.240.176.135]) by orsmga001.jf.intel.com with ESMTP; 24 Dec 2018 02:48:45 -0800 From: yaobing To: dts@dpdk.org Cc: yaobing Date: Mon, 24 Dec 2018 18:51:59 +0800 Message-Id: <1545648719-57312-1-git-send-email-bingx.y.yao@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [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 10:48:47 -0000 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): """ -- 2.17.2