tests: Add stop-monkey.sh

This commit is contained in:
Calcitem 2021-04-10 11:08:13 +08:00
parent 01f7ebe672
commit 776992435a
1 changed files with 4 additions and 0 deletions

4
tests/stop-monkey.sh Normal file
View File

@ -0,0 +1,4 @@
#!/bin/bash
cd ~/AppData/Local/Android/Sdk/platform-tools || exit
./adb shell kill $(./adb shell ps | grep monkey | xargs | cut -d' ' -f2)