test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] framework/project_dpdk: add action of copy QMP from dts to dut
@ 2020-06-04  1:28 lihong
  2020-06-05  7:47 ` Xie, WeiX
  2020-06-11 12:17 ` Tu, Lijuan
  0 siblings, 2 replies; 3+ messages in thread
From: lihong @ 2020-06-04  1:28 UTC (permalink / raw)
  To: dts, weix.xie; +Cc: lihong

Signed-off-by: lihong <lihongx.ma@intel.com>
---
 framework/project_dpdk.py | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/framework/project_dpdk.py b/framework/project_dpdk.py
index e97d1ab..ebc008e 100644
--- a/framework/project_dpdk.py
+++ b/framework/project_dpdk.py
@@ -309,6 +309,14 @@ class DPDKdut(Dut):
                 for p in self.patches:
                     self.session.copy_file_to('dep/' + p, dst_dir)
 
+            # copy QMP file to dut
+            if ':' not in self.session.name:
+                out = self.send_expect("ls -d ~/QMP", "# ", verify=True)
+                if isinstance(out, int):
+                    self.send_expect("mkdir -p ~/QMP", "# ")
+                self.session.copy_file_to('dep/QMP/qemu-ga-client', '~/QMP/')
+                self.session.copy_file_to('dep/QMP/qmp.py', '~/QMP/')
+
             self.kill_all()
 
             # enable core dump
-- 
2.7.4


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

* Re: [dts] [PATCH V1] framework/project_dpdk: add action of copy QMP from dts to dut
  2020-06-04  1:28 [dts] [PATCH V1] framework/project_dpdk: add action of copy QMP from dts to dut lihong
@ 2020-06-05  7:47 ` Xie, WeiX
  2020-06-11 12:17 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Xie, WeiX @ 2020-06-05  7:47 UTC (permalink / raw)
  To: Ma, LihongX, dts

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

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

Regards,
Xie Wei


-----Original Message-----
From: Ma, LihongX 
Sent: Thursday, June 4, 2020 9:29 AM
To: dts@dpdk.org; Xie, WeiX <weix.xie@intel.com>
Cc: Ma, LihongX <lihongx.ma@intel.com>
Subject: [dts][PATCH V1] framework/project_dpdk: add action of copy QMP from dts to dut

Signed-off-by: lihong <lihongx.ma@intel.com>
---
 framework/project_dpdk.py | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/framework/project_dpdk.py b/framework/project_dpdk.py index e97d1ab..ebc008e 100644
--- a/framework/project_dpdk.py
+++ b/framework/project_dpdk.py
@@ -309,6 +309,14 @@ class DPDKdut(Dut):
                 for p in self.patches:
                     self.session.copy_file_to('dep/' + p, dst_dir)
 
+            # copy QMP file to dut
+            if ':' not in self.session.name:
+                out = self.send_expect("ls -d ~/QMP", "# ", verify=True)
+                if isinstance(out, int):
+                    self.send_expect("mkdir -p ~/QMP", "# ")
+                self.session.copy_file_to('dep/QMP/qemu-ga-client', '~/QMP/')
+                self.session.copy_file_to('dep/QMP/qmp.py', '~/QMP/')
+
             self.kill_all()
 
             # enable core dump
--
2.7.4


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

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

* Re: [dts] [PATCH V1] framework/project_dpdk: add action of copy QMP from dts to dut
  2020-06-04  1:28 [dts] [PATCH V1] framework/project_dpdk: add action of copy QMP from dts to dut lihong
  2020-06-05  7:47 ` Xie, WeiX
@ 2020-06-11 12:17 ` Tu, Lijuan
  1 sibling, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2020-06-11 12:17 UTC (permalink / raw)
  To: Ma, LihongX, dts, Xie, WeiX; +Cc: Ma, LihongX

Applied, thanks

-----Original Message-----
From: dts <dts-bounces@dpdk.org> On Behalf Of lihong
Sent: 2020年6月4日 9:29
To: dts@dpdk.org; Xie, WeiX <weix.xie@intel.com>
Cc: Ma, LihongX <lihongx.ma@intel.com>
Subject: [dts] [PATCH V1] framework/project_dpdk: add action of copy QMP from dts to dut

Signed-off-by: lihong <lihongx.ma@intel.com>
---
 framework/project_dpdk.py | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/framework/project_dpdk.py b/framework/project_dpdk.py index e97d1ab..ebc008e 100644
--- a/framework/project_dpdk.py
+++ b/framework/project_dpdk.py
@@ -309,6 +309,14 @@ class DPDKdut(Dut):
                 for p in self.patches:
                     self.session.copy_file_to('dep/' + p, dst_dir)
 
+            # copy QMP file to dut
+            if ':' not in self.session.name:
+                out = self.send_expect("ls -d ~/QMP", "# ", verify=True)
+                if isinstance(out, int):
+                    self.send_expect("mkdir -p ~/QMP", "# ")
+                self.session.copy_file_to('dep/QMP/qemu-ga-client', '~/QMP/')
+                self.session.copy_file_to('dep/QMP/qmp.py', '~/QMP/')
+
             self.kill_all()
 
             # enable core dump
--
2.7.4


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

end of thread, other threads:[~2020-06-11 12:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-04  1:28 [dts] [PATCH V1] framework/project_dpdk: add action of copy QMP from dts to dut lihong
2020-06-05  7:47 ` Xie, WeiX
2020-06-11 12:17 ` Tu, Lijuan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).