test suite reviews and discussions
 help / color / Atom feed
* [dts] [PATCH V1] tests/TestSuite_unit_tests_kni:adapt meson build, add set_build_options
@ 2020-09-14  6:51 Chen Linglix
  2020-09-14  6:59 ` Chen, LingliX
  2020-09-15  8:50 ` Tu, Lijuan
  0 siblings, 2 replies; 3+ messages in thread
From: Chen Linglix @ 2020-09-14  6:51 UTC (permalink / raw)
  To: dts; +Cc: Chen Linglix

adapt meson build, add set_build_options

Signed-off-by: Chen Linglix <linglix.chen@intel.com>
---
 tests/TestSuite_unit_tests_kni.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/TestSuite_unit_tests_kni.py b/tests/TestSuite_unit_tests_kni.py
index abf8a80..d54a5ac 100644
--- a/tests/TestSuite_unit_tests_kni.py
+++ b/tests/TestSuite_unit_tests_kni.py
@@ -75,6 +75,8 @@ class TestUnitTestsKni(TestCase):
         """
         self.dut.send_expect("sed -i -e 's/KNI_KMOD_ETHTOOL=n$/KNI_KMOD_ETHTOOL=y/' config/common_base", "# ", 30)
         self.dut.send_expect("sed -i -e 's/CONFIG_RTE_KNI_KMOD=n$/CONFIG_RTE_KNI_KMOD=y/' config/common_base", "# ", 30)
+        self.dut.set_build_options({'KNI_KMOD_ETHTOOL': 'y'})
+        self.dut.set_build_options({'RTE_KNI_KMOD': 'y'})
         self.dut.build_install_dpdk(self.target)
         self.cores = self.dut.get_core_list("all")
         self.insmod_kni()
-- 
1.8.3.1


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

* Re: [dts] [PATCH V1] tests/TestSuite_unit_tests_kni:adapt meson build, add set_build_options
  2020-09-14  6:51 [dts] [PATCH V1] tests/TestSuite_unit_tests_kni:adapt meson build, add set_build_options Chen Linglix
@ 2020-09-14  6:59 ` Chen, LingliX
  2020-09-15  8:50 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Chen, LingliX @ 2020-09-14  6:59 UTC (permalink / raw)
  To: dts

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

Tested-by:  Chen, LingliX <linglix.chen@intel.com>

Regards,
Chen, LingliX

-----Original Message-----
From: Chen, LingliX 
Sent: Monday, September 14, 2020 2:51 PM
To: dts@dpdk.org
Cc: Chen, LingliX <linglix.chen@intel.com>
Subject: [dts][PATCH V1] tests/TestSuite_unit_tests_kni:adapt meson build, add set_build_options

adapt meson build, add set_build_options

Signed-off-by: Chen Linglix <linglix.chen@intel.com>
---
 tests/TestSuite_unit_tests_kni.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/TestSuite_unit_tests_kni.py b/tests/TestSuite_unit_tests_kni.py
index abf8a80..d54a5ac 100644
--- a/tests/TestSuite_unit_tests_kni.py
+++ b/tests/TestSuite_unit_tests_kni.py
@@ -75,6 +75,8 @@ class TestUnitTestsKni(TestCase):
         """
         self.dut.send_expect("sed -i -e 's/KNI_KMOD_ETHTOOL=n$/KNI_KMOD_ETHTOOL=y/' config/common_base", "# ", 30)
         self.dut.send_expect("sed -i -e 's/CONFIG_RTE_KNI_KMOD=n$/CONFIG_RTE_KNI_KMOD=y/' config/common_base", "# ", 30)
+        self.dut.set_build_options({'KNI_KMOD_ETHTOOL': 'y'})
+        self.dut.set_build_options({'RTE_KNI_KMOD': 'y'})
         self.dut.build_install_dpdk(self.target)
         self.cores = self.dut.get_core_list("all")
         self.insmod_kni()
-- 
1.8.3.1


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

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

* Re: [dts] [PATCH V1] tests/TestSuite_unit_tests_kni:adapt meson build, add set_build_options
  2020-09-14  6:51 [dts] [PATCH V1] tests/TestSuite_unit_tests_kni:adapt meson build, add set_build_options Chen Linglix
  2020-09-14  6:59 ` Chen, LingliX
@ 2020-09-15  8:50 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2020-09-15  8:50 UTC (permalink / raw)
  To: Chen, LingliX, dts; +Cc: Chen, LingliX

> Subject: [dts] [PATCH V1] tests/TestSuite_unit_tests_kni:adapt meson build, add
> set_build_options
> 
> adapt meson build, add set_build_options
> 
> Signed-off-by: Chen Linglix <linglix.chen@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-14  6:51 [dts] [PATCH V1] tests/TestSuite_unit_tests_kni:adapt meson build, add set_build_options Chen Linglix
2020-09-14  6:59 ` Chen, LingliX
2020-09-15  8:50 ` 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