mirror of
git://code.qt.io/qt/qt5.git
synced 2026-02-24 16:05:36 +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.
Amends 1c27f95d01.
Task-number: QTQAINFRA-5596
Pick-to: 6.7
Change-Id: I2388dcf9fcdcf18803ff03266493584216f92fdc
Reviewed-by: Dimitrios Apostolou <jimis@qt.io>
This commit is contained in:
@@ -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