From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 97DC91B3A7 for ; Sat, 22 Dec 2018 12:41:19 +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 fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Dec 2018 03:41:18 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,383,1539673200"; d="scan'208";a="132114144" Received: from dts-maintain.sh.intel.com (HELO [10.67.119.110]) ([10.67.119.110]) by fmsmga001.fm.intel.com with ESMTP; 22 Dec 2018 03:41:17 -0800 To: yaobing , dts@dpdk.org References: <1544518026-23451-1-git-send-email-bingx.y.yao@intel.com> From: Lijuan Tu Message-ID: Date: Sun, 23 Dec 2018 04:09:01 +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: <1544518026-23451-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 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: Sat, 22 Dec 2018 11:41:20 -0000 Applied, thanks On 2018年12月11日 16:47, yaobing wrote: > 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 DPDK 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. > """ > > + 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 = 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() > > def test_alarm(self): > """