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-27 17:25:44 +0000 |
commit | 3faa2d5bc993876f1f8b3ad806a0192efaa43e05 (patch) | |
tree | 4949c599c44ed0b49788eec63d55d51e7d67d2ee /meta | |
parent | 21edf5ec12d8307c528f157c8e078dbefe25d1ef (diff) | |
download | openembedded-core-3faa2d5bc993876f1f8b3ad806a0192efaa43e05.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')
-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 ce20164d09..a8a45bf92b 100644 --- a/meta/classes/imagetest-qemu.bbclass +++ b/meta/classes/imagetest-qemu.bbclass @@ -75,6 +75,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()) """run Test Case""" bb.note("Run %s test in scenario %s" % (case, scen)) |