test suite reviews and discussions
 help / color / Atom feed
* [dts] [PATCH V1] tests/TestSuite_dcf_lifecycle:get app name to kill testpmd
@ 2020-09-22  9:40 Xie wei
  2020-09-22  9:45 ` Xie, WeiX
  2020-10-12  8:02 ` Tu, Lijuan
  0 siblings, 2 replies; 4+ messages in thread
From: Xie wei @ 2020-09-22  9:40 UTC (permalink / raw)
  To: dts; +Cc: Xie wei

support meson build method, get app name to kill testpmd process.

Signed-off-by: Xie wei <weix.xie@intel.com>
---
 tests/TestSuite_dcf_lifecycle.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_dcf_lifecycle.py b/tests/TestSuite_dcf_lifecycle.py
index 76c29f89..0923dab0 100644
--- a/tests/TestSuite_dcf_lifecycle.py
+++ b/tests/TestSuite_dcf_lifecycle.py
@@ -341,7 +341,7 @@ class TestDcfLifeCycle(TestCase):
         '''
         cmd = "ps aux | grep testpmd"
         self.d_a_con(cmd)
-        cmd = r"kill -9 `ps -ef | grep testpmd | grep -v grep | grep -v testpmd_vf | awk '{print $2}'`"
+        cmd = r"kill -9 `ps -ef | grep %s | grep -v grep | grep -v %s | awk '{print $2}'`" % (self.vf_dcf_testpmd.split('/')[-1], self.vf_testpmd2.split('/')[-1])
         self.d_a_con(cmd)
         self.is_vf_dcf_pmd_on = False
         time.sleep(2)
-- 
2.17.1


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

* Re: [dts] [PATCH V1] tests/TestSuite_dcf_lifecycle:get app name to kill testpmd
  2020-09-22  9:40 [dts] [PATCH V1] tests/TestSuite_dcf_lifecycle:get app name to kill testpmd Xie wei
@ 2020-09-22  9:45 ` Xie, WeiX
  2020-09-29  1:07   ` Ma, LihongX
  2020-10-12  8:02 ` Tu, Lijuan
  1 sibling, 1 reply; 4+ messages in thread
From: Xie, WeiX @ 2020-09-22  9:45 UTC (permalink / raw)
  To: dts

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

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

Regards,
Xie Wei

> -----Original Message-----
> From: Xie, WeiX
> Sent: Tuesday, September 22, 2020 5:40 PM
> To: dts@dpdk.org
> Cc: Xie, WeiX <weix.xie@intel.com>
> Subject: [dts][PATCH V1] tests/TestSuite_dcf_lifecycle:get app name to kill
> testpmd


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

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

* Re: [dts] [PATCH V1] tests/TestSuite_dcf_lifecycle:get app name to kill testpmd
  2020-09-22  9:45 ` Xie, WeiX
@ 2020-09-29  1:07   ` Ma, LihongX
  0 siblings, 0 replies; 4+ messages in thread
From: Ma, LihongX @ 2020-09-29  1:07 UTC (permalink / raw)
  To: Xie, WeiX, dts

Acked-by: Lihong Ma<lihongx.ma@intel.com>

Regards,
Ma,lihong

> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Xie, WeiX
> Sent: Tuesday, September 22, 2020 5:46 PM
> To: dts@dpdk.org
> Subject: Re: [dts] [PATCH V1] tests/TestSuite_dcf_lifecycle:get app name to
> kill testpmd


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

* Re: [dts] [PATCH V1] tests/TestSuite_dcf_lifecycle:get app name to kill testpmd
  2020-09-22  9:40 [dts] [PATCH V1] tests/TestSuite_dcf_lifecycle:get app name to kill testpmd Xie wei
  2020-09-22  9:45 ` Xie, WeiX
@ 2020-10-12  8:02 ` Tu, Lijuan
  1 sibling, 0 replies; 4+ messages in thread
From: Tu, Lijuan @ 2020-10-12  8:02 UTC (permalink / raw)
  To: Xie, WeiX, dts; +Cc: Xie, WeiX

> support meson build method, get app name to kill testpmd process.
> 
> Signed-off-by: Xie wei <weix.xie@intel.com>

Applied

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

end of thread, back to index

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-22  9:40 [dts] [PATCH V1] tests/TestSuite_dcf_lifecycle:get app name to kill testpmd Xie wei
2020-09-22  9:45 ` Xie, WeiX
2020-09-29  1:07   ` Ma, LihongX
2020-10-12  8:02 ` 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