1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-30 00:20:08 +00:00

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>
This commit is contained in:
Richard Purdie
2010-12-23 17:27:14 +00:00
parent d21090934d
commit df74cf25f0
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -55,6 +55,7 @@ def qemuimagetest_main(d):
os.environ["QEMUTARGET"] = pname
os.environ["DISPLAY"] = bb.data.getVar("DISPLAY", d, True)
os.environ["POKYBASE"] = bb.data.getVar("POKYBASE", d, True)
os.environ["TOPDIR"] = bb.data.getVar("TOPDIR", d, True)
"""run Test Case"""
bb.note("Run %s test in scenario %s" % (case, scen))