summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-27 13:52:29 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-27 13:54:15 +0000
commit1eb5214c982d081e445cc7eecd823d4c307db575 (patch)
treec8e4c498fdeede37324f63309c551826b49a1642 /scripts
parentf17316600204426a2c0d1dce104fed076fe5e5ca (diff)
downloadpoky-1eb5214c982d081e445cc7eecd823d4c307db575.tar.gz
qemuimage-testlib: Capture stderror in the logs as well as stdout
This allows error messages to be captured in the logs which is helpful. (From OE-Core rev: 09a5fec50d622d338db5bd5516d29e4f4d0cec0d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/qemuimage-testlib4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/qemuimage-testlib b/scripts/qemuimage-testlib
index a800f681f2..9aaf552f48 100755
--- a/scripts/qemuimage-testlib
+++ b/scripts/qemuimage-testlib
@@ -408,8 +408,8 @@ Test_Create_Qemu()
408 export MACHINE=$QEMUARCH 408 export MACHINE=$QEMUARCH
409 409
410 # Create Qemu in localhost VNC Port 1 410 # Create Qemu in localhost VNC Port 1
411 echo "Running xterm -display ${DISPLAY} -e 'OE_TMPDIR=${OE_TMPDIR} ${RUNQEMU} ${KERNEL} ${TEST_ROOTFS_IMAGE} | tee ${RUNQEMU_LOGFILE} || /bin/sleep 60' &" 411 echo "Running xterm -display ${DISPLAY} -e 'OE_TMPDIR=${OE_TMPDIR} ${RUNQEMU} ${KERNEL} ${TEST_ROOTFS_IMAGE} 2>&1 | tee ${RUNQEMU_LOGFILE} || /bin/sleep 60' &"
412 xterm -display ${DISPLAY} -e "OE_TMPDIR=${OE_TMPDIR} ${RUNQEMU} ${KERNEL} ${TEST_ROOTFS_IMAGE} | tee ${RUNQEMU_LOGFILE} || /bin/sleep 60" & 412 xterm -display ${DISPLAY} -e "OE_TMPDIR=${OE_TMPDIR} ${RUNQEMU} ${KERNEL} ${TEST_ROOTFS_IMAGE} 2>&1 | tee ${RUNQEMU_LOGFILE} || /bin/sleep 60" &
413 413
414 # Get the pid of the xterm processor, which will be used in Test_Kill_Qemu 414 # Get the pid of the xterm processor, which will be used in Test_Kill_Qemu
415 XTERMPID=$! 415 XTERMPID=$!