mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 12:59:02 +02:00
oe-time-dd-test.sh: collect cooker log when timeout is exceeded
Collect the last 30 lines from the cooker.log whenever the timeout is exceeded. (From OE-Core rev: 58f7cd4d6186525f08f3027975530d647cbfa26b) Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
6db9f63412
commit
f8b2e0f600
|
@ -25,4 +25,5 @@ timeout ${TIMEOUT} dd if=/dev/zero of=oe-time-dd-test.dat bs=1024 count=$1 conv=
|
|||
if [ $? -ne 0 ]; then
|
||||
echo "Timeout used: ${TIMEOUT}"
|
||||
top -c -b -n1 -w 512
|
||||
tail -30 tmp*/log/cooker/*/console-latest.log
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue
Block a user