test suite reviews and discussions
 help / color / Atom feed
* [dts] [PATCH V1] tests/TestSuite_flexible_rxd:support meson build method
@ 2020-09-23  2:38 Xie wei
  2020-09-23  2:40 ` Xie, WeiX
  2020-10-12  8:03 ` Tu, Lijuan
  0 siblings, 2 replies; 3+ messages in thread
From: Xie wei @ 2020-09-23  2:38 UTC (permalink / raw)
  To: dts; +Cc: Xie wei

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 <weix.xie@intel.com>
---
 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 <rte_flow.h>/a\#include <rte_pmd_ice.h>' 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dts] [PATCH V1] tests/TestSuite_flexible_rxd:support meson build method
  2020-09-23  2:38 [dts] [PATCH V1] tests/TestSuite_flexible_rxd:support meson build method Xie wei
@ 2020-09-23  2:40 ` Xie, WeiX
  2020-10-12  8:03 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Xie, WeiX @ 2020-09-23  2:40 UTC (permalink / raw)
  To: dts

[-- Attachment #1: Type: text/plain, Size: 306 bytes --]

Tested-by:  Xie,WeiX < weix.xie@intel.com>

Regards,
Xie Wei

> -----Original Message-----
> From: Xie, WeiX
> Sent: Wednesday, September 23, 2020 10:38 AM
> To: dts@dpdk.org
> Cc: Xie, WeiX <weix.xie@intel.com>
> Subject: [dts][PATCH V1] tests/TestSuite_flexible_rxd:support meson build method

[-- Attachment #2: TestFlexibleRxd.log --]
[-- Type: application/octet-stream, Size: 299560 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dts] [PATCH V1] tests/TestSuite_flexible_rxd:support meson build method
  2020-09-23  2:38 [dts] [PATCH V1] tests/TestSuite_flexible_rxd:support meson build method Xie wei
  2020-09-23  2:40 ` Xie, WeiX
@ 2020-10-12  8:03 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2020-10-12  8:03 UTC (permalink / raw)
  To: Xie, WeiX, dts; +Cc: Xie, WeiX

> 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 <weix.xie@intel.com

Applied

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-23  2:38 [dts] [PATCH V1] tests/TestSuite_flexible_rxd:support meson build method Xie wei
2020-09-23  2:40 ` Xie, WeiX
2020-10-12  8:03 ` Tu, Lijuan

test suite reviews and discussions

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/dts/0 dts/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dts dts/ http://inbox.dpdk.org/dts \
		dts@dpdk.org
	public-inbox-index dts


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dts


AGPL code for this site: git clone https://public-inbox.org/ public-inbox