diff options
author | Saul Wold <Saul.Wold@windriver.com> | 2021-06-30 14:17:06 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-07-02 23:14:32 +0100 |
commit | bb534a9c02ea062cd6f4d812b4744465101d5353 (patch) | |
tree | 9949ea0cd9f66a629c0103397d273f1be477f7cd /meta/lib/oeqa/targetcontrol.py | |
parent | 879545999f6277bd441415a0a3815ff57fc004d3 (diff) | |
download | poky-bb534a9c02ea062cd6f4d812b4744465101d5353.tar.gz |
oeqa/dump.py: Add support for QMP command arguments
Need to ensure that the dump_dir is created correctly and available
When command arguemnts are passed construct a filename if needed and
convert the arguements to a json object to pass to QMP.
(From OE-Core rev: 9a2f4e1e95f4a3f7ebbf08f46445c8ea670adce3)
Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/targetcontrol.py')
-rw-r--r-- | meta/lib/oeqa/targetcontrol.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/lib/oeqa/targetcontrol.py b/meta/lib/oeqa/targetcontrol.py index 005ebaa7f3..1fdff82889 100644 --- a/meta/lib/oeqa/targetcontrol.py +++ b/meta/lib/oeqa/targetcontrol.py | |||
@@ -152,6 +152,8 @@ class QemuTarget(BaseTarget): | |||
152 | 152 | ||
153 | self.target_dumper = TargetDumper(dump_target_cmds, dump_dir, self.runner) | 153 | self.target_dumper = TargetDumper(dump_target_cmds, dump_dir, self.runner) |
154 | self.monitor_dumper = MonitorDumper(dump_monitor_cmds, dump_dir, self.runner) | 154 | self.monitor_dumper = MonitorDumper(dump_monitor_cmds, dump_dir, self.runner) |
155 | if (self.monitor_dumper): | ||
156 | self.monitor_dumper.create_dir("qmp") | ||
155 | 157 | ||
156 | def deploy(self): | 158 | def deploy(self): |
157 | bb.utils.mkdirhier(self.testdir) | 159 | bb.utils.mkdirhier(self.testdir) |