test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] tests/telemetry: adapt meson build
@ 2021-03-23  6:04 Zhou Jun
  2021-03-23  6:11 ` Zhou, JunX W
  2021-03-25  5:55 ` Tu, Lijuan
  0 siblings, 2 replies; 4+ messages in thread
From: Zhou Jun @ 2021-03-23  6:04 UTC (permalink / raw)
  To: dts; +Cc: Zhou Jun

adapt meson build, need modify compile parameter and recompile
 for test

Signed-off-by: Zhou Jun <junx.w.zhou@intel.com>
---
 tests/TestSuite_telemetry.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/TestSuite_telemetry.py b/tests/TestSuite_telemetry.py
index 7e474bc..8de8fb6 100644
--- a/tests/TestSuite_telemetry.py
+++ b/tests/TestSuite_telemetry.py
@@ -49,6 +49,7 @@ class TestTelemetry(TestCase):
             "'s/CONFIG_RTE_LIBRTE_TELEMETRY=n/CONFIG_RTE_LIBRTE_TELEMETRY=y/g'"
             " {}/config/common_base").format(self.target_dir)
         self.d_a_console(cmd)
+        self.dut.set_build_options({'RTE_LIBRTE_TELEMETRY': 'y'})
 
     def create_query_script(self):
         '''
@@ -588,7 +589,8 @@ class TestTelemetry(TestCase):
         """
         Run after each test suite.
         """
-        pass
+        self.dut.set_build_options({'RTE_LIBRTE_TELEMETRY': 'n'})
+        self.dut.build_install_dpdk(self.target)
 
     def test_basic_connection(self):
         '''
-- 
1.8.3.1


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

* Re: [dts] [PATCH V1] tests/telemetry: adapt meson build
  2021-03-23  6:04 [dts] [PATCH V1] tests/telemetry: adapt meson build Zhou Jun
@ 2021-03-23  6:11 ` Zhou, JunX W
  2021-03-23  9:53   ` Zhao, HaiyangX
  2021-03-25  5:55 ` Tu, Lijuan
  1 sibling, 1 reply; 4+ messages in thread
From: Zhou, JunX W @ 2021-03-23  6:11 UTC (permalink / raw)
  To: dts

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

>-----Original Message-----
>From: Zhou, JunX W 
>Sent: Tuesday, March 23, 2021 2:05 PM
>To: dts@dpdk.org
>Cc: Zhou, JunX W <junx.w.zhou@intel.com>
>Subject: [dts][PATCH V1] tests/telemetry: adapt meson build
>
>adapt meson build, need modify compile parameter and recompile  for test
>
>Signed-off-by: Zhou Jun <junx.w.zhou@intel.com>

Tested-by: Zhou, Jun <junx.w.zhou@intel.com>

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

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

* Re: [dts] [PATCH V1] tests/telemetry: adapt meson build
  2021-03-23  6:11 ` Zhou, JunX W
@ 2021-03-23  9:53   ` Zhao, HaiyangX
  0 siblings, 0 replies; 4+ messages in thread
From: Zhao, HaiyangX @ 2021-03-23  9:53 UTC (permalink / raw)
  To: Zhou, JunX W, dts



> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Zhou, JunX W
> Sent: Tuesday, March 23, 2021 14:11
> To: dts@dpdk.org
> Subject: Re: [dts] [PATCH V1] tests/telemetry: adapt meson build
> 
> >-----Original Message-----
> >From: Zhou, JunX W
> >Sent: Tuesday, March 23, 2021 2:05 PM
> >To: dts@dpdk.org
> >Cc: Zhou, JunX W <junx.w.zhou@intel.com>
> >Subject: [dts][PATCH V1] tests/telemetry: adapt meson build
> >
> >adapt meson build, need modify compile parameter and recompile  for test
> >
> >Signed-off-by: Zhou Jun <junx.w.zhou@intel.com>
> 
> Tested-by: Zhou, Jun <junx.w.zhou@intel.com>

Acked-by: Haiyang Zhao <haiyangx.zhao@intel.com>

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

* Re: [dts] [PATCH V1] tests/telemetry: adapt meson build
  2021-03-23  6:04 [dts] [PATCH V1] tests/telemetry: adapt meson build Zhou Jun
  2021-03-23  6:11 ` Zhou, JunX W
@ 2021-03-25  5:55 ` Tu, Lijuan
  1 sibling, 0 replies; 4+ messages in thread
From: Tu, Lijuan @ 2021-03-25  5:55 UTC (permalink / raw)
  To: Zhou, JunX W, dts; +Cc: Zhou, JunX W



> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Zhou Jun
> Sent: 2021年3月23日 14:05
> To: dts@dpdk.org
> Cc: Zhou, JunX W <junx.w.zhou@intel.com>
> Subject: [dts] [PATCH V1] tests/telemetry: adapt meson build
> 
> adapt meson build, need modify compile parameter and recompile  for test
> 
> Signed-off-by: Zhou Jun <junx.w.zhou@intel.com>
> ---
>  tests/TestSuite_telemetry.py | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/tests/TestSuite_telemetry.py b/tests/TestSuite_telemetry.py index
> 7e474bc..8de8fb6 100644
> --- a/tests/TestSuite_telemetry.py
> +++ b/tests/TestSuite_telemetry.py
> @@ -49,6 +49,7 @@ class TestTelemetry(TestCase):
> 
> "'s/CONFIG_RTE_LIBRTE_TELEMETRY=n/CONFIG_RTE_LIBRTE_TELEMETRY=y/g
> '"
>              " {}/config/common_base").format(self.target_dir)
>          self.d_a_console(cmd)
> +        self.dut.set_build_options({'RTE_LIBRTE_TELEMETRY': 'y'})

Duplicated with your old method, please remove it, thanks

> 
>      def create_query_script(self):
>          '''
> @@ -588,7 +589,8 @@ class TestTelemetry(TestCase):
>          """
>          Run after each test suite.
>          """
> -        pass
> +        self.dut.set_build_options({'RTE_LIBRTE_TELEMETRY': 'n'})
> +        self.dut.build_install_dpdk(self.target)
> 
>      def test_basic_connection(self):
>          '''
> --
> 1.8.3.1


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

end of thread, other threads:[~2021-03-25  5:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-23  6:04 [dts] [PATCH V1] tests/telemetry: adapt meson build Zhou Jun
2021-03-23  6:11 ` Zhou, JunX W
2021-03-23  9:53   ` Zhao, HaiyangX
2021-03-25  5:55 ` Tu, Lijuan

test suite reviews and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://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/ https://inbox.dpdk.org/dts \
		dts@dpdk.org
	public-inbox-index dts

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dts


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