diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-12-23 17:27:14 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-12-23 17:27:14 +0000 |
commit | df74cf25f0904562623a15b641a7770d2fa88570 (patch) | |
tree | 72a527507655f62e12dd972993ac07663745779f /meta/classes/imagetest-qemu.bbclass | |
parent | d21090934d64ae04b0362eb55ecfac1ea72a797e (diff) | |
download | poky-df74cf25f0904562623a15b641a7770d2fa88570.tar.gz |
qemuimage-testlib: Ensure TOPDIR/BUILDDIR are set
The recent environment changes mean TOPDIR/BUILDDIR need to be exported
specifcially to the enviromnent so the qemu scripts can find the correct
build directory.
Without this, qemu can fail to run.
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
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 4b3ddfc362..bcae10d61d 100644 --- a/meta/classes/imagetest-qemu.bbclass +++ b/meta/classes/imagetest-qemu.bbclass | |||
@@ -55,6 +55,7 @@ def qemuimagetest_main(d): | |||
55 | os.environ["QEMUTARGET"] = pname | 55 | os.environ["QEMUTARGET"] = pname |
56 | os.environ["DISPLAY"] = bb.data.getVar("DISPLAY", d, True) | 56 | os.environ["DISPLAY"] = bb.data.getVar("DISPLAY", d, True) |
57 | os.environ["POKYBASE"] = bb.data.getVar("POKYBASE", d, True) | 57 | os.environ["POKYBASE"] = bb.data.getVar("POKYBASE", d, True) |
58 | os.environ["TOPDIR"] = bb.data.getVar("TOPDIR", d, True) | ||
58 | 59 | ||
59 | """run Test Case""" | 60 | """run Test Case""" |
60 | bb.note("Run %s test in scenario %s" % (case, scen)) | 61 | bb.note("Run %s test in scenario %s" % (case, scen)) |