aboutsummaryrefslogtreecommitdiffstats
path: root/coin/provisioning/common/linux/android_emulator_launcher.sh
diff options
context:
space:
mode:
Diffstat (limited to 'coin/provisioning/common/linux/android_emulator_launcher.sh')
-rwxr-xr-xcoin/provisioning/common/linux/android_emulator_launcher.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/coin/provisioning/common/linux/android_emulator_launcher.sh b/coin/provisioning/common/linux/android_emulator_launcher.sh
index 5184019f..fad20148 100755
--- a/coin/provisioning/common/linux/android_emulator_launcher.sh
+++ b/coin/provisioning/common/linux/android_emulator_launcher.sh
@@ -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})