From patchwork Tue Sep 15 08:33:45 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yufen.Mo" X-Patchwork-Id: 77693 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1100EA04C7; Tue, 15 Sep 2020 10:36:55 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 092641C001; Tue, 15 Sep 2020 10:36:55 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id DEE73160 for ; Tue, 15 Sep 2020 10:36:52 +0200 (CEST) IronPort-SDR: i2lyamenUq7nJ8wi7CLvAmBLeO4NbP1+DZ4+2d2Vky1tKrTtXMXpmT7a6o0l8hsPCFnvIQbQUJ BHFn1dw/nuqQ== X-IronPort-AV: E=McAfee;i="6000,8403,9744"; a="146962903" X-IronPort-AV: E=Sophos;i="5.76,429,1592895600"; d="scan'208";a="146962903" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Sep 2020 01:36:51 -0700 IronPort-SDR: ddaY401fKtsn5Lxu6GbBOHqp/LuIau7JGeccR8ub+dMsmzZfMKqwHdDdF9JjG6TXTg38R3yVvA sDsC2n28WLPw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,429,1592895600"; d="scan'208";a="286736489" Received: from dpdk-moyufen06.sh.intel.com ([10.67.116.208]) by fmsmga007.fm.intel.com with ESMTP; 15 Sep 2020 01:36:50 -0700 From: yufengmx To: dts@dpdk.org, lei.a.yao@intel.com Cc: yufengmx Date: Tue, 15 Sep 2020 16:33:45 +0800 Message-Id: <20200915083351.12506-2-yufengx.mo@intel.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20200915083351.12506-1-yufengx.mo@intel.com> References: <20200915083351.12506-1-yufengx.mo@intel.com> MIME-Version: 1.0 Subject: [dts] [PATCH V1 1/7] power_bidirection_channel: support meson 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: , Errors-To: dts-bounces@dpdk.org Sender: "dts" support meson build. Signed-off-by: yufengmx --- tests/TestSuite_power_bidirection_channel.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/TestSuite_power_bidirection_channel.py b/tests/TestSuite_power_bidirection_channel.py index 8159e11..d8b2982 100644 --- a/tests/TestSuite_power_bidirection_channel.py +++ b/tests/TestSuite_power_bidirection_channel.py @@ -37,6 +37,8 @@ import os import time import traceback +from settings import load_global_setting +from settings import HOST_BUILD_TYPE_SETTING from utils import create_mask as dts_create_mask from qemu_libvirt import LibvirtKvm from exception import VerifyFailure @@ -63,6 +65,9 @@ class TestPowerBidirectionChannel(TestCase): _host_crb = host_crb if host_crb else self.dut example_dir = "examples/" + name out = _host_crb.build_dpdk_apps('./' + example_dir) + if 'meson' == load_global_setting(HOST_BUILD_TYPE_SETTING): + return os.path.join(self.target_dir, + _host_crb.apps_name[os.path.basename(name)]) self.verify("Error" not in out, "Compilation error") self.verify("No such" not in out, "Compilation error") binary_dir = os.path.join(self.target_dir, example_dir, 'build') From patchwork Tue Sep 15 08:33:46 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yufen.Mo" X-Patchwork-Id: 77694 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 42BCBA04C7; Tue, 15 Sep 2020 10:36:56 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2E6461C0C6; Tue, 15 Sep 2020 10:36:56 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 18D9A1C001 for ; Tue, 15 Sep 2020 10:36:53 +0200 (CEST) IronPort-SDR: CM2SUMkmPnSz9IYxe5O/8yi8bK8GJS2TJxGRGEQYPXVh6OuCj7jK0DYTyaBZ47wokduJkynt5R RXDhDkogl4VQ== X-IronPort-AV: E=McAfee;i="6000,8403,9744"; a="146962909" X-IronPort-AV: E=Sophos;i="5.76,429,1592895600"; d="scan'208";a="146962909" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Sep 2020 01:36:53 -0700 IronPort-SDR: SIUEuXcV4JxTXCHd7yYzLe1+PeyMkw2MsvF49nnCHh9vNDIUNWxL8dywRhgBE6mcbc7NPa3ABh NHplL9blCe6Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,429,1592895600"; d="scan'208";a="286736496" Received: from dpdk-moyufen06.sh.intel.com ([10.67.116.208]) by fmsmga007.fm.intel.com with ESMTP; 15 Sep 2020 01:36:52 -0700 From: yufengmx To: dts@dpdk.org, lei.a.yao@intel.com Cc: yufengmx Date: Tue, 15 Sep 2020 16:33:46 +0800 Message-Id: <20200915083351.12506-3-yufengx.mo@intel.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20200915083351.12506-1-yufengx.mo@intel.com> References: <20200915083351.12506-1-yufengx.mo@intel.com> MIME-Version: 1.0 Subject: [dts] [PATCH V1 2/7] power_empty_poll: support meson 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: , Errors-To: dts-bounces@dpdk.org Sender: "dts" support meson build. Signed-off-by: yufengmx --- tests/TestSuite_power_empty_poll.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/TestSuite_power_empty_poll.py b/tests/TestSuite_power_empty_poll.py index 93843f7..787603f 100644 --- a/tests/TestSuite_power_empty_poll.py +++ b/tests/TestSuite_power_empty_poll.py @@ -39,6 +39,8 @@ import traceback from copy import deepcopy from pprint import pformat +from settings import load_global_setting +from settings import HOST_BUILD_TYPE_SETTING from utils import create_mask as dts_create_mask from exception import VerifyFailure from test_case import TestCase @@ -78,6 +80,9 @@ class TestPowerEmptyPoll(TestCase): def prepare_binary(self, name): example_dir = "examples/" + name out = self.dut.build_dpdk_apps('./' + example_dir) + if 'meson' == load_global_setting(HOST_BUILD_TYPE_SETTING): + return os.path.join(self.target_dir, + self.dut.apps_name[os.path.basename(name)]) self.verify("Error" not in out, "Compilation error") self.verify("No such" not in out, "Compilation error") binary_dir = os.path.join(self.target_dir, example_dir, 'build') From patchwork Tue Sep 15 08:33:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yufen.Mo" X-Patchwork-Id: 77695 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5E801A04C7; Tue, 15 Sep 2020 10:36:57 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 57C3B1C0CD; Tue, 15 Sep 2020 10:36:57 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 81A9D160 for ; Tue, 15 Sep 2020 10:36:55 +0200 (CEST) IronPort-SDR: e7/fnAsLJvhxscueIcI4CK/kuLOg9dyfi3Vqc03icGCo3Ouo4wElLIUEvHFiKnQrMTJIXFIAff ZrF+qiRWKYbw== X-IronPort-AV: E=McAfee;i="6000,8403,9744"; a="146962914" X-IronPort-AV: E=Sophos;i="5.76,429,1592895600"; d="scan'208";a="146962914" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Sep 2020 01:36:55 -0700 IronPort-SDR: oREwpj1Q5RwwW7Q8pAFlCGHzacl2gbF28VDrw+1WWpJyjzmd7/M1WwGCsuIvajP8BDxMnncoYU zxQhq6EHK/TQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,429,1592895600"; d="scan'208";a="286736500" Received: from dpdk-moyufen06.sh.intel.com ([10.67.116.208]) by fmsmga007.fm.intel.com with ESMTP; 15 Sep 2020 01:36:53 -0700 From: yufengmx To: dts@dpdk.org, lei.a.yao@intel.com Cc: yufengmx Date: Tue, 15 Sep 2020 16:33:47 +0800 Message-Id: <20200915083351.12506-4-yufengx.mo@intel.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20200915083351.12506-1-yufengx.mo@intel.com> References: <20200915083351.12506-1-yufengx.mo@intel.com> MIME-Version: 1.0 Subject: [dts] [PATCH V1 3/7] power_pbf: support meson 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: , Errors-To: dts-bounces@dpdk.org Sender: "dts" support meson build. Signed-off-by: yufengmx --- tests/TestSuite_power_pbf.py | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/tests/TestSuite_power_pbf.py b/tests/TestSuite_power_pbf.py index eb5a16e..d10af99 100644 --- a/tests/TestSuite_power_pbf.py +++ b/tests/TestSuite_power_pbf.py @@ -40,6 +40,8 @@ from collections import Counter from pprint import pformat # import dts libs +from settings import load_global_setting +from settings import HOST_BUILD_TYPE_SETTING from test_case import TestCase from exception import VerifyFailure from utils import create_mask @@ -136,6 +138,9 @@ class TestPowerPbf(TestCase): def prepare_binary(self, name): example_dir = "examples/" + name out = self.dut.build_dpdk_apps('./' + example_dir) + if 'meson' == load_global_setting(HOST_BUILD_TYPE_SETTING): + return os.path.join(self.target_dir, + self.dut.apps_name[os.path.basename(name)]) self.verify("Error" not in out, "Compilation error") self.verify("No such" not in out, "Compilation error") binary_dir = os.path.join(self.target_dir, example_dir, 'build') @@ -151,13 +156,17 @@ class TestPowerPbf(TestCase): def init_test_binary_file(self): self.create_powermonitor_folder() # open debug SW - cmd = ("sed -i -e 's/" - "CONFIG_RTE_LIBRTE_POWER_DEBUG=n$/" - "CONFIG_RTE_LIBRTE_POWER_DEBUG=y/" - "' {0}/config/common_base").format(self.target_dir) - self.d_a_con(cmd) + SW = "CONFIG_RTE_LIBRTE_POWER_DEBUG" + if 'meson' == load_global_setting(HOST_BUILD_TYPE_SETTING): + self.dut.set_build_options({SW[7:]: 'y'}) + else: + cmd = "sed -i -e 's/{0}=n$/{0}=y/' {1}/config/common_base".format( + SW, self.target_dir) + self.d_a_con(cmd) + back = self.dut.skip_setup self.dut.skip_setup = False self.dut.build_install_dpdk(self.target) + self.dut.skip_setup = back # set up vm power management binary process setting self.vm_power_mgr = self.prepare_binary('vm_power_manager') # set up distributor binary process setting From patchwork Tue Sep 15 08:33:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yufen.Mo" X-Patchwork-Id: 77696 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9109CA04C7; Tue, 15 Sep 2020 10:36:58 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 85B4C1C0CC; Tue, 15 Sep 2020 10:36:58 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 1994B160 for ; Tue, 15 Sep 2020 10:36:56 +0200 (CEST) IronPort-SDR: jThwG3nBhXCtNX0g+TmPnF7dCxPuGvLP3BohmGsun1V9iif6JqK9yd8dO5sdfTG+pCv27lA5Vs 82ErKwlCbDzA== X-IronPort-AV: E=McAfee;i="6000,8403,9744"; a="146962920" X-IronPort-AV: E=Sophos;i="5.76,429,1592895600"; d="scan'208";a="146962920" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Sep 2020 01:36:56 -0700 IronPort-SDR: 1WlaMB86dt+f4ccoxAW3EFn5MVRA7wimtGT8knhOdDM+NF+VR69EaRM0duFfXemvXi6LTtljQb Y77h//dEQ7vQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,429,1592895600"; d="scan'208";a="286736506" Received: from dpdk-moyufen06.sh.intel.com ([10.67.116.208]) by fmsmga007.fm.intel.com with ESMTP; 15 Sep 2020 01:36:55 -0700 From: yufengmx To: dts@dpdk.org, lei.a.yao@intel.com Cc: yufengmx Date: Tue, 15 Sep 2020 16:33:48 +0800 Message-Id: <20200915083351.12506-5-yufengx.mo@intel.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20200915083351.12506-1-yufengx.mo@intel.com> References: <20200915083351.12506-1-yufengx.mo@intel.com> MIME-Version: 1.0 Subject: [dts] [PATCH V1 4/7] power_pstate: support meson 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: , Errors-To: dts-bounces@dpdk.org Sender: "dts" support meson build. Signed-off-by: yufengmx --- tests/TestSuite_power_pstate.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/TestSuite_power_pstate.py b/tests/TestSuite_power_pstate.py index 2ee0981..4d122ae 100644 --- a/tests/TestSuite_power_pstate.py +++ b/tests/TestSuite_power_pstate.py @@ -38,6 +38,8 @@ from collections import Counter from pprint import pformat # import dts libs +from settings import load_global_setting +from settings import HOST_BUILD_TYPE_SETTING from test_case import TestCase from exception import VerifyFailure from utils import create_mask @@ -144,6 +146,9 @@ class TestPowerPstate(TestCase): def prepare_binary(self, name): example_dir = "examples/" + name out = self.dut.build_dpdk_apps('./' + example_dir) + if 'meson' == load_global_setting(HOST_BUILD_TYPE_SETTING): + return os.path.join(self.target_dir, + self.dut.apps_name[os.path.basename(name)]) self.verify("Error" not in out, "Compilation error") self.verify("No such" not in out, "Compilation error") binary_dir = os.path.join(self.target_dir, example_dir, 'build') From patchwork Tue Sep 15 08:33:49 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yufen.Mo" X-Patchwork-Id: 77697 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id B153CA04C7; Tue, 15 Sep 2020 10:36:59 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A98271C000; Tue, 15 Sep 2020 10:36:59 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 895E71C0D0 for ; Tue, 15 Sep 2020 10:36:58 +0200 (CEST) IronPort-SDR: yBRDLGwIYTKK3kPmdOOlBqMUtJhE0xHP07rFSqjgKsh68WkrEVRrTp5uXMt4r1RrP3u9bzYe5R 4gaQNUCLCDLw== X-IronPort-AV: E=McAfee;i="6000,8403,9744"; a="146962923" X-IronPort-AV: E=Sophos;i="5.76,429,1592895600"; d="scan'208";a="146962923" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Sep 2020 01:36:58 -0700 IronPort-SDR: 4IDVLcHx5jr8ZnbgIjrzHdkADdBRDB1gEQ4VKMKz0sYBIN5J6Nb3SwWYDZfBAYCwGaoUYsWB+U CAgPnMJmX4fA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,429,1592895600"; d="scan'208";a="286736514" Received: from dpdk-moyufen06.sh.intel.com ([10.67.116.208]) by fmsmga007.fm.intel.com with ESMTP; 15 Sep 2020 01:36:56 -0700 From: yufengmx To: dts@dpdk.org, lei.a.yao@intel.com Cc: yufengmx Date: Tue, 15 Sep 2020 16:33:49 +0800 Message-Id: <20200915083351.12506-6-yufengx.mo@intel.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20200915083351.12506-1-yufengx.mo@intel.com> References: <20200915083351.12506-1-yufengx.mo@intel.com> MIME-Version: 1.0 Subject: [dts] [PATCH V1 5/7] power_telemetry: support meson 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: , Errors-To: dts-bounces@dpdk.org Sender: "dts" support meson build. Signed-off-by: yufengmx --- tests/TestSuite_power_telemetry.py | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/tests/TestSuite_power_telemetry.py b/tests/TestSuite_power_telemetry.py index 90404e3..8299d3b 100644 --- a/tests/TestSuite_power_telemetry.py +++ b/tests/TestSuite_power_telemetry.py @@ -42,6 +42,8 @@ import json from copy import deepcopy from pprint import pformat +from settings import load_global_setting +from settings import HOST_BUILD_TYPE_SETTING from utils import create_mask as dts_create_mask from settings import HEADER_SIZE from test_case import TestCase @@ -126,15 +128,24 @@ class TestPowerTelemetry(TestCase): if self.dut.skip_setup: return SW = "CONFIG_RTE_LIBRTE_TELEMETRY" - cmd = "sed -i -e 's/{0}=n$/{0}=y/' {1}/config/common_base".format( - SW, self.target_dir) - self.d_a_con(cmd) + if 'meson' == load_global_setting(HOST_BUILD_TYPE_SETTING): + self.dut.set_build_options({SW[7:]: 'y'}) + else: + cmd = "sed -i -e 's/{0}=n$/{0}=y/' {1}/config/common_base".format( + SW, self.target_dir) + self.d_a_con(cmd) # re-compile dpdk source code + back = self.dut.skip_setup + self.dut.skip_setup = False self.dut.build_install_dpdk(self.target) + self.dut.skip_setup = back def prepare_binary(self, name): example_dir = "examples/" + name out = self.dut.build_dpdk_apps('./' + example_dir) + if 'meson' == load_global_setting(HOST_BUILD_TYPE_SETTING): + return os.path.join(self.target_dir, + self.dut.apps_name[os.path.basename(name)]) self.verify("Error" not in out, "Compilation error") self.verify("No such" not in out, "Compilation error") binary_dir = os.path.join(self.target_dir, example_dir, 'build') From patchwork Tue Sep 15 08:33:50 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yufen.Mo" X-Patchwork-Id: 77698 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id DC9BDA04C7; Tue, 15 Sep 2020 10:37:01 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D73631C0D5; Tue, 15 Sep 2020 10:37:01 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 3C6E11C0D5 for ; Tue, 15 Sep 2020 10:37:00 +0200 (CEST) IronPort-SDR: K/W7gdgb055Ls3u+9UKuLPedAnvNvps5fk+SKzydqh6vnMIKLt1k6Lx4FwsrCBxj8GM8XbbVEg MAXheTps8oIA== X-IronPort-AV: E=McAfee;i="6000,8403,9744"; a="146962928" X-IronPort-AV: E=Sophos;i="5.76,429,1592895600"; d="scan'208";a="146962928" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Sep 2020 01:36:59 -0700 IronPort-SDR: t5SH+phpVu9Rxhel5NJ/eu9r6th/2BjSL3FH2ccl0zS1kJlt8Yk4tzvNCmDAMtHqU3f+KmdXyG LtwXljYOkLRA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,429,1592895600"; d="scan'208";a="286736520" Received: from dpdk-moyufen06.sh.intel.com ([10.67.116.208]) by fmsmga007.fm.intel.com with ESMTP; 15 Sep 2020 01:36:58 -0700 From: yufengmx To: dts@dpdk.org, lei.a.yao@intel.com Cc: yufengmx Date: Tue, 15 Sep 2020 16:33:50 +0800 Message-Id: <20200915083351.12506-7-yufengx.mo@intel.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20200915083351.12506-1-yufengx.mo@intel.com> References: <20200915083351.12506-1-yufengx.mo@intel.com> MIME-Version: 1.0 Subject: [dts] [PATCH V1 6/7] vm_pw_mgmt_policy: support meson 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: , Errors-To: dts-bounces@dpdk.org Sender: "dts" support meson build. Signed-off-by: yufengmx --- tests/TestSuite_vm_pw_mgmt_policy.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/TestSuite_vm_pw_mgmt_policy.py b/tests/TestSuite_vm_pw_mgmt_policy.py index 37f49e4..3e3d473 100644 --- a/tests/TestSuite_vm_pw_mgmt_policy.py +++ b/tests/TestSuite_vm_pw_mgmt_policy.py @@ -44,6 +44,8 @@ from datetime import datetime, timedelta from copy import deepcopy from pprint import pformat +from settings import load_global_setting +from settings import HOST_BUILD_TYPE_SETTING from utils import create_mask as dts_create_mask from test_case import TestCase from pmd_output import PmdOutput @@ -78,6 +80,9 @@ class TestVmPwMgmtPolicy(TestCase): _host_crb = host_crb if host_crb else self.dut example_dir = "examples/" + name out = _host_crb.build_dpdk_apps('./' + example_dir) + if 'meson' == load_global_setting(HOST_BUILD_TYPE_SETTING): + return os.path.join(self.target_dir, + _host_crb.apps_name[os.path.basename(name)]) self.verify("Error" not in out, "Compilation error") self.verify("No such" not in out, "Compilation error") binary_dir = os.path.join(self.target_dir, example_dir, 'build') From patchwork Tue Sep 15 08:33:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yufen.Mo" X-Patchwork-Id: 77699 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 0E0AAA04C7; Tue, 15 Sep 2020 10:37:03 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0878C1C0C2; Tue, 15 Sep 2020 10:37:03 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id AC07F160 for ; Tue, 15 Sep 2020 10:37:01 +0200 (CEST) IronPort-SDR: MeXDK1x8p9+nWYbthW1ijMWb9NqnAKqm7NDtFVetnOVfDAWMYuOx6aBG/Cvolf9+H9mW4fspmx IEcWEXFaTTNg== X-IronPort-AV: E=McAfee;i="6000,8403,9744"; a="146962929" X-IronPort-AV: E=Sophos;i="5.76,429,1592895600"; d="scan'208";a="146962929" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Sep 2020 01:37:01 -0700 IronPort-SDR: j+NzyetLK+9rzlYwT0lq4vIRf0SV9qPAJsQzN9MNzz70ZbvrBi6me5zxk8gWLRr0NqPDFvE4K9 V6CHrVWdlUpg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,429,1592895600"; d="scan'208";a="286736529" Received: from dpdk-moyufen06.sh.intel.com ([10.67.116.208]) by fmsmga007.fm.intel.com with ESMTP; 15 Sep 2020 01:36:59 -0700 From: yufengmx To: dts@dpdk.org, lei.a.yao@intel.com Cc: yufengmx Date: Tue, 15 Sep 2020 16:33:51 +0800 Message-Id: <20200915083351.12506-8-yufengx.mo@intel.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20200915083351.12506-1-yufengx.mo@intel.com> References: <20200915083351.12506-1-yufengx.mo@intel.com> MIME-Version: 1.0 Subject: [dts] [PATCH V1 7/7] conf: power suite series support meson 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: , Errors-To: dts-bounces@dpdk.org Sender: "dts" support meson build. Signed-off-by: yufengmx --- conf/app_name.cfg | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/conf/app_name.cfg b/conf/app_name.cfg index ff58137..c283c03 100644 --- a/conf/app_name.cfg +++ b/conf/app_name.cfg @@ -62,6 +62,9 @@ hotplug_mp=target/examples/dpdk-hotplug_mp mp_server=target/examples/dpdk-mp_server simple_mp=target/examples/dpdk-simple_mp symmetric_mp=target/examples/dpdk-symmetric_mp +vm_power_manager=target/examples/dpdk-vm_power_manager +guest_cli=target/examples/dpdk-guest_cli +distributor=target/examples/dpdk-distributor [makefile] pdump=target/app/dpdk-pdump proc-info=target/app/dpdk-procinfo @@ -119,3 +122,7 @@ hotplug_mp=examples/multi_process/hotplug_mp/build/app/hotplug_mp mp_server=examples/multi_process/client_server_mp/mp_server/build/app/mp_server simple_mp=examples/multi_process/simple_mp/build/app/simple_mp symmetric_mp=examples/multi_process/symmetric_mp/build/app/symmetric_mp +vm_power_manager=examples/vm_power_manager/build/vm_power_mgr +guest_cli=examples/vm_power_manager/guest_cli/build/guest_vm_power_mgr +distributor=examples/distributor/build/distributor_app +