summaryrefslogtreecommitdiffstats
path: root/meta/classes
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:50:09 +0000
commit720492dd14290e7b559b870131cc8ee3d6630758 (patch)
treeebe625376ab15602d76d878aaf9b49c7347c2475 /meta/classes
parentb45d63e2ecbc03c1aaebb619e3eea840e163699b (diff)
downloadast2050-yocto-poky-720492dd14290e7b559b870131cc8ee3d6630758.zip
ast2050-yocto-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')
-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 0d18f06..63ba087 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
OpenPOWER on IntegriCloud