From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id D84DB3772 for ; Mon, 6 Mar 2017 09:29:26 +0100 (CET) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga105.jf.intel.com with ESMTP; 06 Mar 2017 00:29:25 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.35,252,1484035200"; d="scan'208";a="1118920438" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga001.fm.intel.com with ESMTP; 06 Mar 2017 00:29:25 -0800 Received: from fmsmsx111.amr.corp.intel.com (10.18.116.5) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 6 Mar 2017 00:29:25 -0800 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by fmsmsx111.amr.corp.intel.com (10.18.116.5) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 6 Mar 2017 00:29:25 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.177]) by SHSMSX103.ccr.corp.intel.com ([10.239.4.69]) with mapi id 14.03.0248.002; Mon, 6 Mar 2017 16:29:18 +0800 From: "Xu, HuilongX" To: "Liu, Yong" , "dts@dpdk.org" Thread-Topic: [dts] [PATCH V1] define build_time in freebsd when compile dpdk Thread-Index: AQHSlh8RteYyd28GAUyUIxrFbBeozKGG89CAgACGlIA= Date: Mon, 6 Mar 2017 08:29:18 +0000 Message-ID: References: <1488766398-5314-1-git-send-email-huilongx.xu@intel.com> <86228AFD5BCD8E4EBFD2B90117B5E81E62D72D0E@SHSMSX103.ccr.corp.intel.com> In-Reply-To: <86228AFD5BCD8E4EBFD2B90117B5E81E62D72D0E@SHSMSX103.ccr.corp.intel.com> Accept-Language: zh-CN, 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 V1] define build_time in freebsd when compile 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: Mon, 06 Mar 2017 08:29:27 -0000 Hi yong, I use build_time in freebsb compile function in patch "[dts] [PATCH V1] fix= dpdk test app compile issue", but I forget define build_time, only define= in linux compile function. So dts will termination=20 When run any case on freebsd. Thanks a lot > -----Original Message----- > From: Liu, Yong > Sent: Monday, March 06, 2017 4:25 PM > To: Xu, HuilongX; dts@dpdk.org > Cc: Xu, HuilongX > Subject: RE: [dts] [PATCH V1] define build_time in freebsd when compile > dpdk >=20 > Huilong, > Look like build time still remain 120 seconds, what's this patch aim for? >=20 > Thanks, > Marvin >=20 > > -----Original Message----- > > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of xu,huilong > > Sent: Monday, March 06, 2017 10:13 AM > > To: dts@dpdk.org > > Cc: Xu, HuilongX > > Subject: [dts] [PATCH V1] define build_time in freebsd when compile > > dpdk > > > > Signed-off-by: xu,huilong > > --- > > framework/project_dpdk.py | 6 +++--- > > 1 file changed, 3 insertions(+), 3 deletions(-) > > > > diff --git a/framework/project_dpdk.py b/framework/project_dpdk.py > > index 7a4e4f7..3b91dd6 100644 > > --- a/framework/project_dpdk.py > > +++ b/framework/project_dpdk.py > > @@ -207,11 +207,11 @@ class DPDKdut(Dut): > > self.send_expect("rm -rf %s" % > > r'./app/test/test_resource_c.res.o' , "#") > > self.send_expect("rm -rf %s" % > > r'./app/test/test_resource_tar.res.o' , "#") > > self.send_expect("rm -rf %s" % > > r'./app/test/test_pci_sysfs.res.o' , "#") > > - > > + build_time =3D 120 > > # compile > > out =3D self.send_expect("make -j %d install T=3D%s CC=3Dgcc48= " % > > (self.number_of_cores, > > > > target), > > - "#", 120) > > + "#", build_time) > > #should not check test app compile status, because if test > > compile fail, > > #all unit test can't exec, but others case will exec sucessful= l > > self.send_expect("make -j -C test/ CC=3Dgcc48", "# ", > > build_time) @@ -224,7 +224,7 @@ class DPDKdut(Dut): > > self.logger.error("ERROR - try without '-j'") > > # if Error try to execute make without -j option > > out =3D self.send_expect("make install T=3D%s CC=3Dgcc48" = % target, > > - "#", 120) > > + "#", build_time) > > > > assert ("Error" not in out), "Compilation error..." > > assert ("No rule to make" not in out), "No rule to make error.= .." > > -- > > 1.9.3