Skip to content

Instantly share code, notes, and snippets.

@clairvy
Created January 2, 2014 23:58
Show Gist options
  • Save clairvy/8229734 to your computer and use it in GitHub Desktop.
Save clairvy/8229734 to your computer and use it in GitHub Desktop.
Package = $(shell perl -le '$$_=join("",<>);/package=\"([^\"]+)\"/ and print $$1;' AndroidManifest.xml)
Runner = android.test.InstrumentationTestRunner
Target = ../AITC2App
test:
adb shell am instrument -w $(Package)/$(Runner)
update:
android update test-project -m $(Target) -p `pwd`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment