Run adb command before executing Android test on Test lab

183 views
Skip to first unread message

Subodh Nijsure

unread,
Dec 16, 2017, 1:29:11 AM12/16/17
to Firebase Google Group

I am currently running command using  command something like this :

gcloud beta firebase test android run \
   --async \
   --app app/build/outputs/apk/debug/app-debug.apk \
   --test smallTests.apk  \
   --device-ids sailfish --os-version-ids 26 --orientations portrait \
   --project guides-app \
   --use-orchestrator \
   --results-bucket cloud-test-app


However before my tests run I want to say execute command `adb shell appops set com.mypackage android:mock_location allow` is there way to do that?

(Note: cross-posted on Firebase Slack channel as well)

-Subodh Nijsure


Reply all
Reply to author
Forward
0 new messages