Skip to content

Instantly share code, notes, and snippets.

@chiuki
Created November 29, 2017 16:51
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chiuki/f2f532dccdf3d856da39ff750c5a2c5f to your computer and use it in GitHub Desktop.
Save chiuki/f2f532dccdf3d856da39ff750c5a2c5f to your computer and use it in GitHub Desktop.
Script to remove instrumentation tests
#!/bin/bash
for p in `adb shell pm list instrumentation | cut -f2 -d: | cut -f1 -d/`; do
echo -n "Uninstalling $p... "
adb uninstall $p
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment