1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-11-28 20:02:20 -05:00

Fix testrunner script

This commit is contained in:
Sebastian Kaspari 2011-03-06 11:49:33 +01:00
parent 3f18a678ce
commit 5ea5b800b8

View File

@ -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