From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3FBCFA04FF; Mon, 21 Mar 2022 13:46:01 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0F36A427E9; Mon, 21 Mar 2022 13:46:01 +0100 (CET) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 2AA334161A for ; Mon, 21 Mar 2022 13:45:57 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1647866759; x=1679402759; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=qhyzQ4dpKR2sJv/XXuUklBiNlreAJlHLdrIadZ+GjC0=; b=RqXV6LwL3lL8DjTw1XPOTuNWGxo5yMupisRjaydhYNHSUHWQi0bTMBb0 7XSjywLIczvK/HpgdJtbo9ZEiYFZ38RE5cIE5GOjYCXH9Y7/fC76cELkO c2YnUy/qFcdkALSO9/9GouDzWecZRoYlrb9lFkL9vNQXQiJU0E5W6Nkq8 /qIQmehFP5wOsvtsy3Tpi6MswL5bxNibDOYw0qj/JtFACkWn7E2uk0Dh2 3cyk5SekmHXKCtnE3ZXdrGtNUL5WUGEOyLYBQZZJNsLItqZsvg0iPs1X7 BuNCguz9dElgzZ2JwmiakkxRWl4PX12LD/NAaymk2jMeIcaccEiQJMBW/ Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10292"; a="343969488" X-IronPort-AV: E=Sophos;i="5.90,198,1643702400"; d="scan'208";a="343969488" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Mar 2022 05:45:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,198,1643702400"; d="scan'208";a="514921970" Received: from silpixa00401183.ir.intel.com ([10.55.129.105]) by orsmga002.jf.intel.com with ESMTP; 21 Mar 2022 05:45:55 -0700 From: Tadhg Kearney To: dts@dpdk.org Cc: reshma.pattan@intel.com, Tadhg Kearney Subject: [dts][V1] tests/*: Remove old DPDK RTE flags from power tests Date: Mon, 21 Mar 2022 12:45:53 +0000 Message-Id: <20220321124553.1027252-1-tadhg.kearney@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 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 * CONFIG_RTE_LIBRTE_I40E_PMD option does not exist anymore * Telemtry is build by default + _LIBRTE_ option also does not exist anymore Signed-off-by: Tadhg Kearney --- tests/TestSuite_power_branch_ratio.py | 2 +- tests/TestSuite_power_telemetry.py | 17 +---------------- 2 files changed, 2 insertions(+), 17 deletions(-) diff --git a/tests/TestSuite_power_branch_ratio.py b/tests/TestSuite_power_branch_ratio.py index dee2cc11..a7f2a047 100644 --- a/tests/TestSuite_power_branch_ratio.py +++ b/tests/TestSuite_power_branch_ratio.py @@ -225,7 +225,7 @@ class TestPowerBranchRatio(TestCase): def preset_compilation(self): if 'meson' == load_global_setting(HOST_BUILD_TYPE_SETTING): - compile_SWs = self.compile_switch + ["CONFIG_RTE_LIBRTE_I40E_PMD"] + compile_SWs = self.compile_switch self.dut.set_build_options(dict([(sw[7:], 'y') for sw in compile_SWs])) else: for sw in self.compile_switch: diff --git a/tests/TestSuite_power_telemetry.py b/tests/TestSuite_power_telemetry.py index d8182ce2..6a9740b2 100644 --- a/tests/TestSuite_power_telemetry.py +++ b/tests/TestSuite_power_telemetry.py @@ -45,7 +45,7 @@ from pprint import pformat from framework.exception import VerifyFailure from framework.packet import Packet from framework.pktgen import TRANSMIT_CONT -from framework.settings import HEADER_SIZE, HOST_BUILD_TYPE_SETTING, load_global_setting +from framework.settings import HEADER_SIZE, load_global_setting from framework.test_case import TestCase from framework.utils import create_mask as dts_create_mask @@ -121,19 +121,6 @@ class TestPowerTelemetry(TestCase): return result - def preset_compilation(self): - if self.dut.skip_setup: - return - SW = "CONFIG_RTE_LIBRTE_TELEMETRY" - 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 - self.dut.build_install_dpdk(self.target) - def prepare_binary(self, name): example_dir = "examples/" + name out = self.dut.build_dpdk_apps('./' + example_dir) @@ -425,8 +412,6 @@ class TestPowerTelemetry(TestCase): def preset_test_environment(self): self.is_l3fwd_on = None - # open compile switch and re-compile target source code - self.preset_compilation() # init binary self.init_l3fwd_power() self.init_telemetry() -- 2.25.1 -------------------------------------------------------------- Intel Research and Development Ireland Limited Registered in Ireland Registered Office: Collinstown Industrial Park, Leixlip, County Kildare Registered Number: 308263 This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.