From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id EB8281E20 for ; Wed, 12 Dec 2018 02:20:36 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Dec 2018 17:20:35 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,343,1539673200"; d="scan'208";a="100806861" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga008.jf.intel.com with ESMTP; 11 Dec 2018 17:20:35 -0800 Received: from fmsmsx156.amr.corp.intel.com (10.18.116.74) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 11 Dec 2018 17:20:35 -0800 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx156.amr.corp.intel.com (10.18.116.74) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 11 Dec 2018 17:20:35 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.182]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.210]) with mapi id 14.03.0415.000; Wed, 12 Dec 2018 09:20:33 +0800 From: "Zhu, WenhuiX" To: "Yao, BingX Y" , "dts@dpdk.org" CC: "Yao, BingX Y" , "Wang, FengqinX" Thread-Topic: [dts] [PATCH V2] tests/flags unbind devices to DPDK Thread-Index: AQHUkS2+ZbP/80qRtkOr4NmJx4+ga6V6Txww Date: Wed, 12 Dec 2018 01:20:33 +0000 Message-ID: References: <1544518026-23451-1-git-send-email-bingx.y.yao@intel.com> In-Reply-To: <1544518026-23451-1-git-send-email-bingx.y.yao@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH V2] tests/flags unbind devices to DPDK 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: Wed, 12 Dec 2018 01:20:37 -0000 Tested-by: Zhu, WenhuiX -----Original Message----- From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of yaobing Sent: Tuesday, December 11, 2018 4:47 PM To: dts@dpdk.org Cc: Yao, BingX Y Subject: [dts] [PATCH V2] tests/flags unbind devices to DPDK this test just wants to make sure the memory allocation and de-allocation = behavior in clean running environment,so not having any devices bound to DP= DK should be the prerequisite for running this test Signed-off-by: yaobing --- tests/TestSuite_unit_tests_eal.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/TestSuite_unit_tests_eal.py b/tests/TestSuite_unit_tests= _eal.py index 68a4cbe..74d0dfd 100644 --- a/tests/TestSuite_unit_tests_eal.py +++ b/tests/TestSuite_unit_tests_eal.py @@ -261,11 +261,13 @@ class TestUnitTestsEal(TestCase): Run eal flags autotest. """ =20 + self.dut.unbind_interfaces_linux() 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 =3D 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() =20 def test_alarm(self): """ -- 2.17.2