From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id D4DC94C9D for ; Wed, 6 Mar 2019 06:55:39 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Mar 2019 21:55:38 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,446,1544515200"; d="scan'208";a="121370935" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga006.jf.intel.com with ESMTP; 05 Mar 2019 21:55:38 -0800 Received: from fmsmsx152.amr.corp.intel.com (10.18.125.5) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 5 Mar 2019 21:55:38 -0800 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by FMSMSX152.amr.corp.intel.com (10.18.125.5) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 5 Mar 2019 21:55:37 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.158]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.134]) with mapi id 14.03.0415.000; Wed, 6 Mar 2019 13:55:36 +0800 From: "Zhu, ShuaiX" To: "Li, WenjieX A" , "dts@dpdk.org" CC: "Li, WenjieX A" , "Zhu, ShuaiX" Thread-Topic: [dts] [PATCH V2] framwork/project_dpdk: remove build_install_dpdk_test_app Thread-Index: AQHU08jAVLwFmWpCIUOMb/l4xlYv9qX+Gr+Q Date: Wed, 6 Mar 2019 05:55:35 +0000 Message-ID: <4DC48DF9BDA3E54A836D2D3C057DEC6F0B1514D7@SHSMSX101.ccr.corp.intel.com> References: <1551841442-21029-1-git-send-email-wenjiex.a.li@intel.com> In-Reply-To: <1551841442-21029-1-git-send-email-wenjiex.a.li@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action 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] framwork/project_dpdk: remove build_install_dpdk_test_app 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, 06 Mar 2019 05:55:40 -0000 Tested-by: Zhu, ShuaiX > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Wenjie Li > Sent: Wednesday, March 6, 2019 11:04 AM > To: dts@dpdk.org > Cc: Li, WenjieX A > Subject: [dts] [PATCH V2] framwork/project_dpdk: remove > build_install_dpdk_test_app >=20 > DPDK moved dpdk/test to dpdk/app/test, it is unnecessary to build dpdk/te= st > anymore. >=20 > Signed-off-by: Wenjie Li > --- > framework/project_dpdk.py | 20 -------------------- > 1 file changed, 20 deletions(-) >=20 > diff --git a/framework/project_dpdk.py b/framework/project_dpdk.py index > 2ad01e8..6035c68 100644 > --- a/framework/project_dpdk.py > +++ b/framework/project_dpdk.py > @@ -217,15 +217,10 @@ class DPDKdut(Dut): > # compile > out =3D self.send_expect("make -j %d install T=3D%s %s" % > (self.number_of_cores, target, extra_options), "# ", > build_time) > - #should not check test app compile status, because if test compi= le > fail, > - #all unit test can't exec, but others case will exec successfull= y > - self.build_install_dpdk_test_app(target, build_time) > - > if("Error" in out or "No rule to make" in out): > 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 %s" % (target, > extra_options), "# ", 120) > - self.build_install_dpdk_test_app(target, build_time) >=20 > assert ("Error" not in out), "Compilation error..." > assert ("No rule to make" not in out), "No rule to make error...= " > @@ -244,30 +239,15 @@ class DPDKdut(Dut): > out =3D self.send_expect("make -j %d install T=3D%s CC=3Dgcc48" = % > (self.number_of_cores, >=20 > target), > "#", build_time) > - #should not check test app compile status, because if test compi= le > fail, > - #all unit test can't exec, but others case will exec sucessfull > - self.build_install_dpdk_test_app(target, build_time, > os_type=3D"freebsd") > - > if("Error" in out or "No rule to make" in out): > 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, > "#", build_time) > - self.build_install_dpdk_test_app(target, build_time, > os_type=3D"freebsd") >=20 > assert ("Error" not in out), "Compilation error..." > assert ("No rule to make" not in out), "No rule to make error...= " >=20 > - def build_install_dpdk_test_app(self, target, build_time, > os_type=3D"linux"): > - cmd_build_test =3D "make -j %d -C test/" % (self.number_of_cores= ) > - if os_type =3D=3D "freebsd": > - cmd_build_test =3D "make -j %d -C test/ CC=3Dgcc48" % > (self.number_of_cores) > - > - self.send_expect(cmd_build_test, "# ", build_time) > - app_list =3D ['./test/test/test', './test/test-acl/testacl', > './test/test-pipeline/testpipeline', './test/cmdline_test/cmdline_test'] > - for app in app_list: > - self.send_expect('cp -f %s ./%s/app' % (app, target), "# ", = 30) > - > def prepare_package(self): > if not self.skip_setup: > assert (os.path.isfile(self.package) is True), "Invalid pack= age" > -- > 2.17.2