mirror of
https://git.yoctoproject.org/poky
synced 2026-04-05 08:02:25 +02:00
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>
This commit is contained in:
@@ -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=$!
|
||||
|
||||
Reference in New Issue
Block a user