test suite reviews and discussions
 help / color / mirror / Atom feed
* Re: [dts] [PATCH V1] tests/TestSuite_hotplug:fix use incorrect path to start app issue
  2020-09-16 14:10 [dts] [PATCH V1] tests/TestSuite_hotplug:fix use incorrect path to start app issue lingwei
@ 2020-09-16  6:15 ` Ling, WeiX
  2020-09-16  7:53 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Ling, WeiX @ 2020-09-16  6:15 UTC (permalink / raw)
  To: dts

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

Tested-by: Ling, Wei <weix.ling@intel.com>

Regards,
Ling Wei

-----Original Message-----
From: Ling, WeiX <weix.ling@intel.com> 
Sent: Wednesday, September 16, 2020 10:11 PM
To: dts@dpdk.org
Cc: Ling, WeiX <weix.ling@intel.com>
Subject: [dts][PATCH V1] tests/TestSuite_hotplug:fix use incorrect path to start app issue

fix use incorrect path to start app issue

Signed-off-by: lingwei <weix.ling@intel.com>
---
 tests/TestSuite_hotplug.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_hotplug.py b/tests/TestSuite_hotplug.py index 1882c84..22df230 100644
--- a/tests/TestSuite_hotplug.py
+++ b/tests/TestSuite_hotplug.py
@@ -177,7 +177,7 @@ class TestPortHotPlug(TestCase):
 
         self.session2 = self.dut.create_session(name="virtio_user")
         eal_param = self.dut.create_eal_parameters(no_pci=True, fixed_prefix="virtio1", cores=cores[5:9])
-        testpmd_cmd2 = "%s " % (self.path) + eal_param + ' -- -i'
+        testpmd_cmd2 = "%s/%s " % (self.dut.base_dir, self.path) + eal_param + ' -- -i'
         self.session2.send_expect(testpmd_cmd2, "testpmd>", timeout=60)
         self.session2.send_expect(
             "port attach net_virtio_user1,mac=00:01:02:03:04:05,path=%s,queues=1,packed_vq=1,mrg_rxbuf=1,in_order=0" % path,
--
2.17.1


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

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

* Re: [dts] [PATCH V1] tests/TestSuite_hotplug:fix use incorrect path to start app issue
  2020-09-16 14:10 [dts] [PATCH V1] tests/TestSuite_hotplug:fix use incorrect path to start app issue lingwei
  2020-09-16  6:15 ` Ling, WeiX
@ 2020-09-16  7:53 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2020-09-16  7:53 UTC (permalink / raw)
  To: Ling, WeiX, dts; +Cc: Ling, WeiX

Applied

> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of lingwei
> Sent: 2020年9月16日 22:11
> To: dts@dpdk.org
> Cc: Ling, WeiX <weix.ling@intel.com>
> Subject: [dts] [PATCH V1] tests/TestSuite_hotplug:fix use incorrect path to start
> app issue
> 
> fix use incorrect path to start app issue
> 
> Signed-off-by: lingwei <weix.ling@intel.com>
> ---
>  tests/TestSuite_hotplug.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/TestSuite_hotplug.py b/tests/TestSuite_hotplug.py index
> 1882c84..22df230 100644
> --- a/tests/TestSuite_hotplug.py
> +++ b/tests/TestSuite_hotplug.py
> @@ -177,7 +177,7 @@ class TestPortHotPlug(TestCase):
> 
>          self.session2 = self.dut.create_session(name="virtio_user")
>          eal_param = self.dut.create_eal_parameters(no_pci=True,
> fixed_prefix="virtio1", cores=cores[5:9])
> -        testpmd_cmd2 = "%s " % (self.path) + eal_param + ' -- -i'
> +        testpmd_cmd2 = "%s/%s " % (self.dut.base_dir, self.path) + eal_param + ' -
> - -i'
>          self.session2.send_expect(testpmd_cmd2, "testpmd>", timeout=60)
>          self.session2.send_expect(
>              "port attach
> net_virtio_user1,mac=00:01:02:03:04:05,path=%s,queues=1,packed_vq=1,mrg_
> rxbuf=1,in_order=0" % path,
> --
> 2.17.1


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

* [dts] [PATCH V1] tests/TestSuite_hotplug:fix use incorrect path to start app issue
@ 2020-09-16 14:10 lingwei
  2020-09-16  6:15 ` Ling, WeiX
  2020-09-16  7:53 ` Tu, Lijuan
  0 siblings, 2 replies; 3+ messages in thread
From: lingwei @ 2020-09-16 14:10 UTC (permalink / raw)
  To: dts; +Cc: lingwei

fix use incorrect path to start app issue

Signed-off-by: lingwei <weix.ling@intel.com>
---
 tests/TestSuite_hotplug.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_hotplug.py b/tests/TestSuite_hotplug.py
index 1882c84..22df230 100644
--- a/tests/TestSuite_hotplug.py
+++ b/tests/TestSuite_hotplug.py
@@ -177,7 +177,7 @@ class TestPortHotPlug(TestCase):
 
         self.session2 = self.dut.create_session(name="virtio_user")
         eal_param = self.dut.create_eal_parameters(no_pci=True, fixed_prefix="virtio1", cores=cores[5:9])
-        testpmd_cmd2 = "%s " % (self.path) + eal_param + ' -- -i'
+        testpmd_cmd2 = "%s/%s " % (self.dut.base_dir, self.path) + eal_param + ' -- -i'
         self.session2.send_expect(testpmd_cmd2, "testpmd>", timeout=60)
         self.session2.send_expect(
             "port attach net_virtio_user1,mac=00:01:02:03:04:05,path=%s,queues=1,packed_vq=1,mrg_rxbuf=1,in_order=0" % path,
-- 
2.17.1


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

end of thread, other threads:[~2020-09-16  7:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-16 14:10 [dts] [PATCH V1] tests/TestSuite_hotplug:fix use incorrect path to start app issue lingwei
2020-09-16  6:15 ` Ling, WeiX
2020-09-16  7:53 ` Tu, Lijuan

test suite reviews and discussions

This inbox may be cloned and mirrored by anyone:

	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

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