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

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).