From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id A9427A04B5; Wed, 23 Sep 2020 04:36:40 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 998D41DC2A; Wed, 23 Sep 2020 04:36:40 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 40C051C1A8 for ; Wed, 23 Sep 2020 04:36:39 +0200 (CEST) IronPort-SDR: M6On90u3oQId9eg0eDxMuPUKjfH3sV6d+quwaPGvO8wfFCHIrV2HReJQwvlDf77zFBfgJV+4QH JSQgpOx7RnAg== X-IronPort-AV: E=McAfee;i="6000,8403,9752"; a="140238302" X-IronPort-AV: E=Sophos;i="5.77,292,1596524400"; d="scan'208";a="140238302" 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/ECDHE-RSA-AES256-GCM-SHA384; 22 Sep 2020 19:36:38 -0700 IronPort-SDR: jaHVhoXBglBQGQI7qQWFhIG5SiHx/L3AYEn65l22bOGHtw72+q5td0AkqXC2NiOGxanh61RjKL bVOiKJBGjxKg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,292,1596524400"; d="scan'208";a="412853040" Received: from unknown (HELO localhost.localdomain) ([10.240.183.80]) by fmsmga001.fm.intel.com with ESMTP; 22 Sep 2020 19:36:37 -0700 From: Xie wei To: dts@dpdk.org Cc: Xie wei Date: Wed, 23 Sep 2020 10:38:12 +0800 Message-Id: <20200923023812.21102-1-weix.xie@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dts] [PATCH V1] tests/TestSuite_flexible_rxd:support meson build method 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" According to DPDK-23895, modify app/test-pmd/meson.build file to fix build dpdk failed by meson method for ice NIC. Signed-off-by: Xie wei --- tests/TestSuite_flexible_rxd.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/TestSuite_flexible_rxd.py b/tests/TestSuite_flexible_rxd.py index 4a2d6f29..b69d8bb9 100644 --- a/tests/TestSuite_flexible_rxd.py +++ b/tests/TestSuite_flexible_rxd.py @@ -70,6 +70,9 @@ class TestFlexibleRxd(TestCase): Modify the dpdk code. """ 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" + 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) self.dut.send_expect( @@ -81,6 +84,8 @@ class TestFlexibleRxd(TestCase): Resume editing operation. """ self.dut.send_expect("\cp ./util.c ./app/test-pmd/", "#", 15) + self.dut.send_expect("\cp /root/meson.build ./app/test-pmd/", "#", 15) + self.dut.send_expect("rm -rf /root/meson.build", "#", 15) self.dut.send_expect("rm -rf ./util.c", "#", 15) self.dut.build_install_dpdk(self.dut.target) -- 2.17.1