From patchwork Fri Oct 23 02:31:21 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Xie, WeiX" X-Patchwork-Id: 81850 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 8764BA04DE; Fri, 23 Oct 2020 04:29:26 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 52336694A; Fri, 23 Oct 2020 04:29:25 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 95A216949 for ; Fri, 23 Oct 2020 04:29:23 +0200 (CEST) IronPort-SDR: I37VS+mNyqb9ljnxpCJIaX+Lh/9YqAzkczXnC6TKdHLzjlRgBf/DLhGgqKb84ASSFB7UjS1+iO CJgVfCDyKusw== X-IronPort-AV: E=McAfee;i="6000,8403,9782"; a="147478829" X-IronPort-AV: E=Sophos;i="5.77,404,1596524400"; d="scan'208";a="147478829" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Oct 2020 19:29:22 -0700 IronPort-SDR: 1/O7KyvnIS92H2HEfSeX25BEfWHnG4/p4WN+mimdSKbnvovn8tBBEoIp2hnAvRwUbIxdHuUmim jz+7I5xO4Qtg== X-IronPort-AV: E=Sophos;i="5.77,404,1596524400"; d="scan'208";a="534215363" Received: from unknown (HELO localhost.localdomain) ([10.240.183.80]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Oct 2020 19:29:20 -0700 From: Xie wei To: dts@dpdk.org Cc: Xie wei Date: Fri, 23 Oct 2020 10:31:21 +0800 Message-Id: <20201023023121.5231-1-weix.xie@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dts] [PATCH V1] tests/TestSuite_flexible_rxd:modify meson build code 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" modify meson build code. Signed-off-by: Xie wei Tested-by: Xie,WeiX < weix.xie@intel.com> Acked-by: Lihong Ma --- tests/TestSuite_flexible_rxd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestSuite_flexible_rxd.py b/tests/TestSuite_flexible_rxd.py index b69d8bb9..7bef76c0 100644 --- a/tests/TestSuite_flexible_rxd.py +++ b/tests/TestSuite_flexible_rxd.py @@ -71,7 +71,7 @@ class TestFlexibleRxd(TestCase): """ self.dut.send_expect("cp ./app/test-pmd/util.c .", "#", 15) self.dut.send_expect("cp ./app/test-pmd/meson.build /root/", "#", 15) - pattern = r"/if dpdk_conf.has('RTE_LIBRTE_IXGBE_PMD')/i\if dpdk_conf.has('RTE_LIBRTE_ICE_PMD')\n\tdeps += 'pmd_ice'\nendif" + pattern = r"/if dpdk_conf.has('RTE_NET_IXGBE')/i\if dpdk_conf.has('RTE_NET_ICE')\n\tdeps += 'net_ice'\nendif" self.dut.send_expect(f'sed -i "{pattern}" app/test-pmd/meson.build', "#", 15) self.dut.send_expect( "sed -i '/#include /a\#include ' app/test-pmd/util.c", "#", 15)