test suite reviews and discussions
 help / color / Atom feed
* Re: [dts] [PATCH V1] tests/vhost_user_live_migration: Adapt meson build
  2020-11-12 14:19 [dts] [PATCH V1] tests/vhost_user_live_migration: Adapt meson build JiangYuX
@ 2020-11-12  6:22 ` Jiang, YuX
  2020-11-18  3:23 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Jiang, YuX @ 2020-11-12  6:22 UTC (permalink / raw)
  To: Jiang, YuX, dts

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

Tested-by: JiangYuX <yux.jiang@intel.com>

    Best Regards
    Jiang yu


> -----Original Message-----
> From: JiangYuX [mailto:yux.jiang@intel.com]
> Sent: Thursday, November 12, 2020 10:19 PM
> To: dts@dpdk.org
> Cc: Jiang, YuX <yux.jiang@intel.com>
> Subject: [dts] [PATCH V1] tests/vhost_user_live_migration: Adapt meson
> build

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

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

* [dts] [PATCH V1] tests/vhost_user_live_migration: Adapt meson build
@ 2020-11-12 14:19 JiangYuX
  2020-11-12  6:22 ` Jiang, YuX
  2020-11-18  3:23 ` Tu, Lijuan
  0 siblings, 2 replies; 3+ messages in thread
From: JiangYuX @ 2020-11-12 14:19 UTC (permalink / raw)
  To: dts; +Cc: JiangYu

From: JiangYu <yux.jiang@intel.com>

Config app_path to adapt meson build

Signed-off-by: JiangYu <yux.jiang@intel.com>
---
 tests/TestSuite_vhost_user_live_migration.py | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/tests/TestSuite_vhost_user_live_migration.py b/tests/TestSuite_vhost_user_live_migration.py
index 351b9e6..915fa59 100644
--- a/tests/TestSuite_vhost_user_live_migration.py
+++ b/tests/TestSuite_vhost_user_live_migration.py
@@ -84,6 +84,8 @@ class TestVhostUserLiveMigration(TestCase):
         backup_socket_num = len(set([int(core['socket']) for core in self.backup_dut.cores]))
         self.host_socket_mem = ','.join(['1024']*host_socket_num)
         self.backup_socket_mem = ','.join(['1024']*backup_socket_num)
+        self.testpmd_path=self.dut.apps_name['test-pmd']
+        self.testpmd_name = self.testpmd_path.split("/")[-1]
 
     def set_up(self):
         self.host_dut.send_expect('rm ./vhost-net*', '# ', 30)
@@ -148,7 +150,7 @@ class TestVhostUserLiveMigration(TestCase):
         zero_copy_str = ''
         if zero_copy is True:
             zero_copy_str = ',dequeue-zero-copy=1'
-        testcmd = self.dut.target + "/app/testpmd "
+        testcmd = self.testpmd_path + " "
         vdev = ['eth_vhost0,iface=%s/vhost-net,queues=%d%s' % (self.base_dir, self.queue_number, zero_copy_str)]
         para = " -- -i --nb-cores=%d --rxq=%d --txq=%d" % (self.queue_number, self.queue_number, self.queue_number)
         eal_params_first = self.dut.create_eal_parameters(cores=self.core_list0, prefix='vhost', ports=[self.host_pci_info], vdevs=vdev)
@@ -280,7 +282,7 @@ class TestVhostUserLiveMigration(TestCase):
         vm_dut.send_expect('export TERM=screen', '# ')
         vm_dut.send_expect('screen -S %s' % self.screen_name, '# ', 120)
 
-        vm_testpmd = self.target + '/app/testpmd -c 0x3 -n 4 -- -i'
+        vm_testpmd = self.testpmd_path + ' -c 0x3 -n 4 -- -i'
         vm_dut.send_expect(vm_testpmd, 'testpmd> ', 120)
         vm_dut.send_expect('set fwd rxonly', 'testpmd> ', 30)
         vm_dut.send_expect('set promisc all off', 'testpmd> ', 30)
-- 
2.7.4


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

* Re: [dts] [PATCH V1] tests/vhost_user_live_migration: Adapt meson build
  2020-11-12 14:19 [dts] [PATCH V1] tests/vhost_user_live_migration: Adapt meson build JiangYuX
  2020-11-12  6:22 ` Jiang, YuX
@ 2020-11-18  3:23 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2020-11-18  3:23 UTC (permalink / raw)
  To: Jiang, YuX, dts; +Cc: Jiang, YuX

> Config app_path to adapt meson build
> 
> Signed-off-by: JiangYu <yux.jiang@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-11-12 14:19 [dts] [PATCH V1] tests/vhost_user_live_migration: Adapt meson build JiangYuX
2020-11-12  6:22 ` Jiang, YuX
2020-11-18  3:23 ` 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