From patchwork Fri Oct 23 16:53:13 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yu Jiang X-Patchwork-Id: 81911 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 88495A04DE; Fri, 23 Oct 2020 10:52:31 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2E786A8F9; Fri, 23 Oct 2020 10:52:30 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id CEEB7A8F9 for ; Fri, 23 Oct 2020 10:52:26 +0200 (CEST) IronPort-SDR: 2ooDA0yPxCl0YuAN+tGH/GTO/VzFV03R6zVKdy5YUQpdqXjByNqQgTG2Pi9rd4sFmshjfwdhBh 7NysNCFiiddw== X-IronPort-AV: E=McAfee;i="6000,8403,9782"; a="166863220" X-IronPort-AV: E=Sophos;i="5.77,407,1596524400"; d="scan'208";a="166863220" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Oct 2020 01:52:20 -0700 IronPort-SDR: r9zeqcTf5YrUUgnDfcdQjOZjBDOxAQwWgpysv7IQLM9YDKkfD3osbgNAwzCzZcBcsm2ikn7/2j BprMDxgEv8vQ== X-IronPort-AV: E=Sophos;i="5.77,407,1596524400"; d="scan'208";a="534319823" Received: from unknown (HELO localhost.localdomain) ([10.240.183.77]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Oct 2020 01:52:16 -0700 From: JiangYuX To: dts@dpdk.org Cc: JiangYu Date: Fri, 23 Oct 2020 16:53:13 +0000 Message-Id: <20201023165313.1276143-1-yux.jiang@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [dts] [PATCH V1] tests/TestSuite_pvp_virtio_bonding: Adapt dpdk updates 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" From: JiangYu For DPDK commit: b0b672aea, PMD_BOND has been defined by default, should not redefine. Signed-off-by: JiangYu Tested-by: JiangYuX --- tests/TestSuite_pvp_virtio_bonding.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/tests/TestSuite_pvp_virtio_bonding.py b/tests/TestSuite_pvp_virtio_bonding.py index 10cfe74..316b7e6 100644 --- a/tests/TestSuite_pvp_virtio_bonding.py +++ b/tests/TestSuite_pvp_virtio_bonding.py @@ -210,16 +210,6 @@ class TestPVPVirtIOBonding(TestCase): raise Exception("Set up VM ENV failed") except Exception as e: self.logger.error("ERROR: Failure for %s" % str(e)) - if self.dut.build_type == 'meson': - self.build_pmd_bond(self.vm_dut) - - def build_pmd_bond(self, user_dut): - user_dut.set_build_options({'RTE_LIBRTE_PMD_BOND': 'y'}) - user_dut.build_install_dpdk(self.target) - - def restore_env(self, user_dut): - user_dut.set_build_options({'RTE_LIBRTE_PMD_BOND': 'n'}) - user_dut.build_install_dpdk(self.target) def stop_testpmd_and_vm(self): """