diff options
author | 2013-03-27 13:52:29 +0000 | |
---|---|---|
committer | 2013-03-27 17:28:01 +0000 | |
commit | 53f746cecc63248dfe3111637bf33b00a725784c (patch) | |
tree | dde714922f2715fe026c7674b606b8f8b28e02c7 | |
parent | baba50e9313587916a0ce4dcceaaf0d8bc84e527 (diff) | |
download | poky-53f746cecc63248dfe3111637bf33b00a725784c.tar.gz poky-53f746cecc63248dfe3111637bf33b00a725784c.tar.bz2 poky-53f746cecc63248dfe3111637bf33b00a725784c.zip |
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: efb89b3fd5a96da70153f24c849d1436d1ba06cb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-x | scripts/qemuimage-testlib | 4 |
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() export MACHINE=$QEMUARCH # Create Qemu in localhost VNC Port 1 - echo "Running xterm -display ${DISPLAY} -e 'OE_TMPDIR=${OE_TMPDIR} ${RUNQEMU} ${KERNEL} ${TEST_ROOTFS_IMAGE} | tee ${RUNQEMU_LOGFILE} || /bin/sleep 60' &" - xterm -display ${DISPLAY} -e "OE_TMPDIR=${OE_TMPDIR} ${RUNQEMU} ${KERNEL} ${TEST_ROOTFS_IMAGE} | tee ${RUNQEMU_LOGFILE} || /bin/sleep 60" & + echo "Running xterm -display ${DISPLAY} -e 'OE_TMPDIR=${OE_TMPDIR} ${RUNQEMU} ${KERNEL} ${TEST_ROOTFS_IMAGE} 2>&1 | tee ${RUNQEMU_LOGFILE} || /bin/sleep 60' &" + xterm -display ${DISPLAY} -e "OE_TMPDIR=${OE_TMPDIR} ${RUNQEMU} ${KERNEL} ${TEST_ROOTFS_IMAGE} 2>&1 | tee ${RUNQEMU_LOGFILE} || /bin/sleep 60" & # Get the pid of the xterm processor, which will be used in Test_Kill_Qemu XTERMPID=$! |