Skip to content
Snippets Groups Projects
Commit be601413 authored by Pierre Nicolas's avatar Pierre Nicolas :joy: Committed by Adrien Béraud
Browse files

test: add `no-metrics` flag for emulator

GitLab: #1740
Change-Id: I3e559f02fc81f20a25c4bacdad3c322bc35f9e98
parent 707ab24e
No related branches found
No related tags found
No related merge requests found
...@@ -39,7 +39,7 @@ hw_accel_flag=$(check_hardware_acceleration) ...@@ -39,7 +39,7 @@ hw_accel_flag=$(check_hardware_acceleration)
function launch_emulator () { function launch_emulator () {
adb devices | grep emulator | cut -f1 | xargs -I {} adb -s "{}" emu kill adb devices | grep emulator | cut -f1 | xargs -I {} adb -s "{}" emu kill
options="@${emulator_name} -no-window -no-snapshot -noaudio -no-boot-anim -memory 2048 ${hw_accel_flag} -camera-back none" options="@${emulator_name} -no-window -no-snapshot -noaudio -no-boot-anim -memory 2048 ${hw_accel_flag} -camera-back none -no-metrics"
if [[ "$OSTYPE" == *linux* ]]; then if [[ "$OSTYPE" == *linux* ]]; then
echo "${OSTYPE}: emulator ${options} -gpu off" echo "${OSTYPE}: emulator ${options} -gpu off"
nohup emulator $options -gpu off & nohup emulator $options -gpu off &
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment