aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/imagetest-qemu.bbclass
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2013-03-26 12:43:05 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-26 17:46:52 +0000
commit827106a57ca88760a19f9309d859b500c5c4fe97 (patch)
tree66ee65025c09a3baccab06da31fd5d6dc0a04b32 /meta/classes/imagetest-qemu.bbclass
parent7c2137a07cca8e1d40d3c8b4b2c6321d80f2b1de (diff)
downloadopenembedded-core-827106a57ca88760a19f9309d859b500c5c4fe97.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. 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.bbclass1
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):
os.environ["TARGET_IPSAVE"] = d.getVar("TARGET_IPSAVE", True)
os.environ["TEST_SERIALIZE"] = d.getVar("TEST_SERIALIZE", True)
os.environ["SDK_NAME"] = d.getVar("SDK_NAME", True)
+ os.environ["RUNQEMU_LOGFILE"] = d.expand("${T}/log.runqemutest.%s" % os.getpid())
# Add in all variables from the user's original environment which
# haven't subsequntly been set/changed