summaryrefslogtreecommitdiffstats
path: root/scripts/qemuimage-testlib
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-12-23 17:27:14 (GMT)
committerRichard Purdie <rpurdie@linux.intel.com>2010-12-23 17:27:14 (GMT)
commitdf74cf25f0904562623a15b641a7770d2fa88570 (patch)
tree72a527507655f62e12dd972993ac07663745779f /scripts/qemuimage-testlib
parentd21090934d64ae04b0362eb55ecfac1ea72a797e (diff)
downloadpoky-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 'scripts/qemuimage-testlib')
-rw-r--r--scripts/qemuimage-testlib3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/qemuimage-testlib b/scripts/qemuimage-testlib
index 608c6f0..79882d9 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=$!