diff options
author | Ross Burton <ross.burton@arm.com> | 2022-08-22 16:19:48 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-08-23 15:24:11 +0100 |
commit | 31dc02701d0becb426c7f01c891641a74a897774 (patch) | |
tree | eb262a783c17bbf6af581c36129d2169d3f28b85 /meta | |
parent | a8754d90ae58b1fcacc6f1af9764d30dea80f59a (diff) | |
download | poky-31dc02701d0becb426c7f01c891641a74a897774.tar.gz |
oeqa/qemurunner: add run_serial() comment
Add a comment explaining the non-obvious return codes.
(From OE-Core rev: 6572baffa02ba6b8a686490d55af17cacb528920)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/lib/oeqa/utils/qemurunner.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/lib/oeqa/utils/qemurunner.py b/meta/lib/oeqa/utils/qemurunner.py index 76296d50cd..4c3d2010fb 100644 --- a/meta/lib/oeqa/utils/qemurunner.py +++ b/meta/lib/oeqa/utils/qemurunner.py | |||
@@ -618,6 +618,8 @@ class QemuRunner: | |||
618 | return self.qmp.cmd(command) | 618 | return self.qmp.cmd(command) |
619 | 619 | ||
620 | def run_serial(self, command, raw=False, timeout=60): | 620 | def run_serial(self, command, raw=False, timeout=60): |
621 | # Returns (status, output) where status is 1 on success and 0 on error | ||
622 | |||
621 | # We assume target system have echo to get command status | 623 | # We assume target system have echo to get command status |
622 | if not raw: | 624 | if not raw: |
623 | command = "%s; echo $?\n" % command | 625 | command = "%s; echo $?\n" % command |