mirror of
git://code.qt.io/qt/qt5.git
synced 2026-01-29 09:56:43 +08:00
Coin/Android: print emulator errors/warnings to coin and log file
Making emulator errors and warnings available directly in the ci run logs makes it easier to debug issues. Amends1c27f95d01. Task-number: QTQAINFRA-5596 Change-Id: I2388dcf9fcdcf18803ff03266493584216f92fdc Reviewed-by: Dimitrios Apostolou <jimis@qt.io> (cherry picked from commit23b09c1d2a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
committed by
Qt Cherry-pick Bot
parent
bf09d0fe5b
commit
7f532a7fee
@@ -75,6 +75,14 @@ do
|
||||
echo "Waiting ${ADB_MAX_TIMEOUT} seconds for emulated device to appear..."
|
||||
timeout ${ADB_MAX_TIMEOUT} "$ADB_EXEC" wait-for-device
|
||||
|
||||
# Due to some bug in Coin/Go, we can't have the emulator command stream
|
||||
# the output to the console while in the background, as Coin will continue
|
||||
# waiting for it. So, rely on re-directing all output to a log file and
|
||||
# then printing it out after the emulator is started.
|
||||
echo "######## Printing out the emulator command logs ########"
|
||||
cat "${EMULATOR_RUN_LOG_PATH}"
|
||||
echo "########################################################"
|
||||
|
||||
echo "Waiting a few minutes for the emulator to fully boot..."
|
||||
emulator_status=down
|
||||
for _ in $(seq ${ADB_MAX_TIMEOUT})
|
||||
|
||||
Reference in New Issue
Block a user