Do not hide android emulator output
It might print useful messages, even though they might come mixed with other test messages. However we can't leave stdout/stderr as is, because Coin agent hangs at the end of the shell script, waiting for them to close. So we just redirect them to a file. Pick-to: 6.3 6.2 Change-Id: I797af78786b7df31131b3c3261e1c1fc00e5d460 Reviewed-by: Daniel Smith <Daniel.Smith@qt.io>
This commit is contained in:
parent
0aaf514042
commit
8bf1beb9bd
@ -66,7 +66,10 @@ for counter in `seq 1 ${EMULATOR_MAX_RETRIES}`; do
|
||||
fi
|
||||
|
||||
echo "Starting emulator, try ${counter}/${EMULATOR_MAX_RETRIES}"
|
||||
$EMULATOR_EXEC $EMULATOR_NAME -gpu swiftshader_indirect -no-audio -partition-size 4096 -cores 4 -memory 3500 -no-snapshot-load -no-snapshot-save &>/dev/null &
|
||||
$EMULATOR_EXEC $EMULATOR_NAME \
|
||||
-gpu swiftshader_indirect -no-audio -partition-size 4096 \
|
||||
-cores 4 -memory 3500 -no-snapshot-load -no-snapshot-save \
|
||||
>$HOME/emulator.log 2>&1 &
|
||||
emulator_pid=$!
|
||||
|
||||
$ADB_EXEC wait-for-device
|
||||
|
Loading…
x
Reference in New Issue
Block a user