mirror of
https://github.com/moparisthebest/Yaaic
synced 2024-11-28 20:02:20 -05:00
Fix testrunner script
This commit is contained in:
parent
3f18a678ce
commit
5ea5b800b8
6
test.sh
6
test.sh
@ -16,9 +16,9 @@ fi
|
|||||||
. build.conf
|
. build.conf
|
||||||
|
|
||||||
echo "Starting emulator"
|
echo "Starting emulator"
|
||||||
"$ANDROID_SDK"tools/emulator -avd "$AVD_TEST" &
|
"$ANDROID_SDK"/tools/emulator -avd "$AVD_TEST" &
|
||||||
|
|
||||||
sleep 35
|
sleep 40
|
||||||
|
|
||||||
echo "Unlocking emulator"
|
echo "Unlocking emulator"
|
||||||
echo "event send EV_KEY:KEY_MENU:1 EV_KEY:KEY_MENU:0" | telnet localhost 5554
|
echo "event send EV_KEY:KEY_MENU:1 EV_KEY:KEY_MENU:0" | telnet localhost 5554
|
||||||
@ -26,7 +26,7 @@ echo "event send EV_KEY:KEY_MENU:1 EV_KEY:KEY_MENU:0" | telnet localhost 5554
|
|||||||
sleep 5
|
sleep 5
|
||||||
|
|
||||||
echo "Running tests"
|
echo "Running tests"
|
||||||
"$ANDROID_SDK"tools/adb -e shell "am instrument -w org.yaaic.test/android.test.InstrumentationTestRunner"
|
"$ANDROID_SDK"/platform-tools/adb -e shell "am instrument -w org.yaaic.test/android.test.InstrumentationTestRunner"
|
||||||
|
|
||||||
sleep 3
|
sleep 3
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user