summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/imagetest-qemu.bbclass1
-rw-r--r--scripts/qemuimage-testlib3
2 files changed, 3 insertions, 1 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))
diff --git a/scripts/qemuimage-testlib b/scripts/qemuimage-testlib
index 608c6f0a75..79882d9ea7 100644
--- a/scripts/qemuimage-testlib
+++ b/scripts/qemuimage-testlib
@@ -396,7 +396,8 @@ Test_Create_Qemu()
396 export MACHINE=$QEMUARCH 396 export MACHINE=$QEMUARCH
397 397
398 # Create Qemu in localhost VNC Port 1 398 # Create Qemu in localhost VNC Port 1
399 xterm -display ${DISPLAY} -e "${RUNQEMU} ${KERNEL} ${TEST_ROOTFS_IMAGE}" & 399 echo "Running xterm -display ${DISPLAY} -e 'BUILDDIR=${TOPDIR} ${RUNQEMU} ${KERNEL} ${TEST_ROOTFS_IMAGE}' &"
400 xterm -display ${DISPLAY} -e "BUILDDIR=${TOPDIR} ${RUNQEMU} ${KERNEL} ${TEST_ROOTFS_IMAGE}" &
400 401
401 # Get the pid of the xterm processor, which will be used in Test_Kill_Qemu 402 # Get the pid of the xterm processor, which will be used in Test_Kill_Qemu
402 PID=$! 403 PID=$!