From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 99D471E34 for ; Fri, 1 Mar 2019 06:40:31 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Feb 2019 21:40:30 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,426,1544515200"; d="scan'208";a="137197528" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by FMSMGA003.fm.intel.com with ESMTP; 28 Feb 2019 21:40:29 -0800 Received: from FMSMSX110.amr.corp.intel.com (10.18.116.10) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 28 Feb 2019 21:40:29 -0800 Received: from shsmsx153.ccr.corp.intel.com (10.239.6.53) by fmsmsx110.amr.corp.intel.com (10.18.116.10) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 28 Feb 2019 21:40:29 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.158]) by SHSMSX153.ccr.corp.intel.com ([169.254.12.121]) with mapi id 14.03.0415.000; Fri, 1 Mar 2019 13:40:27 +0800 From: "Tu, Lijuan" To: "Li, WenjieX A" , "dts@dpdk.org" CC: "Li, WenjieX A" Thread-Topic: [dts] [PATCH V1] framwork: align directory changes in dpdk Thread-Index: AQHUz08WDt1J5cIgt0ygCeNAixi6PaX2QIoA Date: Fri, 1 Mar 2019 05:40:27 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BA38099@SHSMSX101.ccr.corp.intel.com> References: <1551349351-56721-1-git-send-email-wenjiex.a.li@intel.com> In-Reply-To: <1551349351-56721-1-git-send-email-wenjiex.a.li@intel.com> Accept-Language: zh-CN, 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-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZTQxYjJhOTctOTc4ZC00Y2ExLWJlZTgtNGE5NDk0ZjRhMjE0IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoibHRLZnptWGw1MllJWDhPWE9SZlwvcGNQMTVFSUd0ZFBOUmhjZ2xoSlFLQTdzNmU4djlOa0ZnMldpRDVBNUlmWmYifQ== 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] framwork: align directory changes in 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: Fri, 01 Mar 2019 05:40:32 -0000 According to dpdk commit: a9de470, the autotests app was removed to the "ap= p" folder, and there is no separate build task necessary for building the a= utotests using "make test-build" while "make" covering the autotests build. > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Wenjie Li > Sent: Thursday, February 28, 2019 6:23 PM > To: dts@dpdk.org > Cc: Li, WenjieX A > Subject: [dts] [PATCH V1] framwork: align directory changes in dpdk >=20 > DPDK directories changed as below: > 1 move test/test/ to app/test/ > 2 move test/test-acl/ to app/test-acl/ > 3 move test/test-pipeline/ to app/test-pipeline/ > 4 move test/test-cmdline/ to app/test-cmdline/ >=20 > Align the changes in dts. >=20 > Signed-off-by: Wenjie Li > --- > framework/project_dpdk.py | 14 ++++++++------ > 1 file changed, 8 insertions(+), 6 deletions(-) >=20 > diff --git a/framework/project_dpdk.py b/framework/project_dpdk.py index > 2ad01e8..38d99f4 100644 > --- a/framework/project_dpdk.py > +++ b/framework/project_dpdk.py > @@ -259,12 +259,14 @@ class DPDKdut(Dut): > 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'] > + app_dir_list =3D ['app/test/', 'app/test-acl/', 'app/test-pipeli= ne/', 'app/test- > cmdline/'] > + for app_dir in app_dir_list: > + cmd_build_test =3D "make -j %d -C %s" % (self.number_of_core= s, app_dir) > + if os_type =3D=3D "freebsd": > + cmd_build_test =3D "make -j %d -C %s CC=3Dgcc48" % > (self.number_of_cores, app_dir) > + self.send_expect(cmd_build_test, "# ", build_time) > + > + app_list =3D ['app/test/test', 'app/test-acl/testacl', > + 'app/test-pipeline/testpipeline', 'app/test-cmdline/cmdline_test'] > for app in app_list: > self.send_expect('cp -f %s ./%s/app' % (app, target), "# ", = 30) >=20 > -- > 2.17.2