diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2013-03-26 12:43:05 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-26 17:50:09 +0000 |
commit | 720492dd14290e7b559b870131cc8ee3d6630758 (patch) | |
tree | ebe625376ab15602d76d878aaf9b49c7347c2475 /meta/classes/imagetest-qemu.bbclass | |
parent | b45d63e2ecbc03c1aaebb619e3eea840e163699b (diff) | |
download | poky-720492dd14290e7b559b870131cc8ee3d6630758.tar.gz |
qemuimagetest: collect and print runqemu output
If runqemu (or qemu itself) fails we need to know why, so tee out to a
log file and print it when we can't find the qemu process or determine
its IP address.
(From OE-Core rev: 827106a57ca88760a19f9309d859b500c5c4fe97)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/imagetest-qemu.bbclass')
-rw-r--r-- | meta/classes/imagetest-qemu.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/imagetest-qemu.bbclass b/meta/classes/imagetest-qemu.bbclass index 0d18f065a4..63ba08718e 100644 --- a/meta/classes/imagetest-qemu.bbclass +++ b/meta/classes/imagetest-qemu.bbclass | |||
@@ -74,6 +74,7 @@ def qemuimagetest_main(d): | |||
74 | os.environ["TARGET_IPSAVE"] = d.getVar("TARGET_IPSAVE", True) | 74 | os.environ["TARGET_IPSAVE"] = d.getVar("TARGET_IPSAVE", True) |
75 | os.environ["TEST_SERIALIZE"] = d.getVar("TEST_SERIALIZE", True) | 75 | os.environ["TEST_SERIALIZE"] = d.getVar("TEST_SERIALIZE", True) |
76 | os.environ["SDK_NAME"] = d.getVar("SDK_NAME", True) | 76 | os.environ["SDK_NAME"] = d.getVar("SDK_NAME", True) |
77 | os.environ["RUNQEMU_LOGFILE"] = d.expand("${T}/log.runqemutest.%s" % os.getpid()) | ||
77 | 78 | ||
78 | # Add in all variables from the user's original environment which | 79 | # Add in all variables from the user's original environment which |
79 | # haven't subsequntly been set/changed | 80 | # haven't subsequntly been set/changed |