From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 7B7E34F94 for ; Thu, 28 Feb 2019 11:18:38 +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 fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Feb 2019 02:18:37 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,423,1544515200"; d="scan'208";a="150722461" Received: from unknown (HELO localhost.localdomain.sh.intel.com) ([10.240.176.135]) by fmsmga001.fm.intel.com with ESMTP; 28 Feb 2019 02:18:37 -0800 From: Wenjie Li To: dts@dpdk.org Cc: Wenjie Li Date: Thu, 28 Feb 2019 18:22:31 +0800 Message-Id: <1551349351-56721-1-git-send-email-wenjiex.a.li@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [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: Thu, 28 Feb 2019 10:18:40 -0000 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/ Align the changes in dts. Signed-off-by: Wenjie Li --- framework/project_dpdk.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) 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..." def build_install_dpdk_test_app(self, target, build_time, os_type="linux"): - cmd_build_test = "make -j %d -C test/" % (self.number_of_cores) - if os_type == "freebsd": - cmd_build_test = "make -j %d -C test/ CC=gcc48" % (self.number_of_cores) - - self.send_expect(cmd_build_test, "# ", build_time) - app_list = ['./test/test/test', './test/test-acl/testacl', './test/test-pipeline/testpipeline', './test/cmdline_test/cmdline_test'] + app_dir_list = ['app/test/', 'app/test-acl/', 'app/test-pipeline/', 'app/test-cmdline/'] + for app_dir in app_dir_list: + cmd_build_test = "make -j %d -C %s" % (self.number_of_cores, app_dir) + if os_type == "freebsd": + cmd_build_test = "make -j %d -C %s CC=gcc48" % (self.number_of_cores, app_dir) + self.send_expect(cmd_build_test, "# ", build_time) + + app_list = ['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) -- 2.17.2