$ bundle update
$ ./copy_repos.sh
$ ./changing_old_files.sh
$ rake android:build
$ cd cucumber/android
$ be calabash resign ../../spec/resources/android/xtc-android-sample.apk
$ be calabash build ../../spec/resources/android/xtc-android-sample.apk
$ be cucumber
$ be calabash run ../../spec/resources/android/xtc-android-sample.apk
To be able to run the cucumber. This worked at one point.
$ CAL_DEBUG=1 be cucumber
Setting Android SDK location to $ANDROID_HOME
Android SDK location set to '/usr/local/opt/android-sdk'
Set aapt path to '/usr/local/opt/android-sdk/build-tools/22.0.1/aapt'
Set zipalign path to '/usr/local/opt/android-sdk/build-tools/22.0.1/zipalign'
Set adb path to '/usr/local/opt/android-sdk/platform-tools/adb'
Set android jar path to '/usr/local/opt/android-sdk/platforms/android-MNC/android.jar'
Java SDK location set to ''
Found java on PATH
Set java path to '/usr/bin/java'
Found keytool on PATH
Set keytool path to '/usr/bin/keytool'
Found jarsigner on PATH
Set jarsigner path to '/usr/bin/jarsigner'
ADB Command: devices
ADB input:
Using the default, app and formatter profiles...
Feature: Home Page
In order to test the Android query and wait APIs
As a Calabash developer
I want a set of Scenarios that interact with the Home page.
Ensuring /Users/moody/git/calabash/calabash/spec/resources/android/xtc-android-sample.apk is installed
ADB Command: -s, 015d168974380006, shell
ADB input: ["pm list packages; echo \"__CAL_END__$?\"; exit 0"]
ADB Command: -s, 015d168974380006, shell
ADB input: ["echo \"test\"; exit 0"]
Application is already installed. Ensuring right checksum
ADB Command: -s, 015d168974380006, shell
ADB input: ["pm list packages -f; echo \"__CAL_END__$?\"; exit 0"]
ADB Command: -s, 015d168974380006, shell
ADB input: ["md5; echo \"__CAL_END__$?\"; exit 0"]
ADB Command: -s, 015d168974380006, shell
ADB input: ["md5 '/data/app/com.xamarin.xtcandroidsample-1.apk'; echo \"__CAL_END__$?\"; exit 0"]
Ensuring the test-server is installed as well
Ensuring /Users/moody/git/calabash/calabash/cucumber/android/test_servers/dd25a450912b6d1b9bb602f64f180bb9_1.9.9.pre2.apk is installed
ADB Command: -s, 015d168974380006, shell
ADB input: ["pm list packages; echo \"__CAL_END__$?\"; exit 0"]
Application is already installed. Ensuring right checksum
ADB Command: -s, 015d168974380006, shell
ADB input: ["pm list packages -f; echo \"__CAL_END__$?\"; exit 0"]
ADB Command: -s, 015d168974380006, shell
ADB input: ["md5 '/data/app/com.xamarin.xtcandroidsample.test-1.apk'; echo \"__CAL_END__$?\"; exit 0"] [100/10949]
ADB Command: -s, 015d168974380006, shell
ADB input: ["pm list packages; echo \"__CAL_END__$?\"; exit 0"]
ADB Command: -s, 015d168974380006, shell
ADB input: ["pm list packages; echo \"__CAL_END__$?\"; exit 0"]
ADB Command: -s, 015d168974380006, shell
ADB input: ["pm list packages -f; echo \"__CAL_END__$?\"; exit 0"]
ADB Command: -s, 015d168974380006, shell
ADB input: ["md5 '/data/app/com.xamarin.xtcandroidsample-1.apk'; echo \"__CAL_END__$?\"; exit 0"]
ADB Command: -s, 015d168974380006, shell
ADB input: ["pm list packages -f; echo \"__CAL_END__$?\"; exit 0"]
ADB Command: -s, 015d168974380006, shell
ADB input: ["md5 '/data/app/com.xamarin.xtcandroidsample.test-1.apk'; echo \"__CAL_END__$?\"; exit 0"]
ADB Command: -s, 015d168974380006, shell
ADB input: ["getprop ro.build.version.release; echo \"__CAL_END__$?\"; exit 0"]
ADB Command: -s, 015d168974380006, shell
ADB input: ["getprop ro.build.version.sdk; echo \"__CAL_END__$?\"; exit 0"]
ADB Command: -s, 015d168974380006, shell
ADB input: ["getprop ro.product.name; echo \"__CAL_END__$?\"; exit 0"]
ADB Command: -s, 015d168974380006, shell
ADB input: ["getprop ro.product.model; echo \"__CAL_END__$?\"; exit 0"]
ADB Command: -s, 015d168974380006, shell
ADB input: ["getprop ro.product.cpu.abi; echo \"__CAL_END__$?\"; exit 0"]
ADB Command: -s, 015d168974380006, shell
ADB input: ["cat /proc/cpuinfo; echo \"__CAL_END__$?\"; exit 0"]
ADB Command: -s, 015d168974380006, shell
ADB input: ["getprop ro.product.manufacturer; echo \"__CAL_END__$?\"; exit 0"]
ADB Command: -s, 015d168974380006, shell
ADB input: ["dumpsys input_method; echo \"__CAL_END__$?\"; exit 0"]
ADB Command: -s, 015d168974380006, shell
ADB input: ["dumpsys input_method; echo \"__CAL_END__$?\"; exit 0"]
ADB Command: -s, 015d168974380006, shell
ADB input: ["pm list packages; echo \"__CAL_END__$?\"; exit 0"]
ADB Command: -s, 015d168974380006, shell
ADB input: ["am start -e method clear -n com.xamarin.xtcandroidsample.test/sh.calaba.instrumentationbackend.StatusReporterActivity; echo \"__CAL_END__$?\"; exit 0"]
ADB Command: -s, 015d168974380006, forward, tcp:33765, tcp:33765
ADB input:
Getting: http://127.0.0.1:33765/ping
Http error: HTTPClient::KeepAliveDisconnected:
ADB Command: -s, 015d168974380006, shell
ADB input: ["pm list packages; echo \"__CAL_END__$?\"; exit 0"]
ADB Command: -s, 015d168974380006, shell
ADB input: ["pm list packages; echo \"__CAL_END__$?\"; exit 0"]
Starting 'sh.calaba.instrumentationbackend.CalabashInstrumentationTestRunner' using: 'am instrument -e "test_server_port" "33765" -e "target_package" "com.xamarin.xtcandroidsample" -e "class" "sh.calaba.instrumentatio
nbackend.InstrumentationBackend" com.xamarin.xtcandroidsample.test/sh.calaba.instrumentationbackend.CalabashInstrumentationTestRunner'
ADB Command: -s, 015d168974380006, shell
ADB input: ["am instrument -e \"test_server_port\" \"33765\" -e \"target_package\" \"com.xamarin.xtcandroidsample\" -e \"class\" \"sh.calaba.instrumentationbackend.InstrumentationBackend\" com.xamarin.xtcandroidsample
.test/sh.calaba.instrumentationbackend.CalabashInstrumentationTestRunner; echo \"__CAL_END__$?\"; exit 0"]
Getting: http://127.0.0.1:33765/ping
Http error: HTTPClient::KeepAliveDisconnected:
ADB Command: -s, 015d168974380006, shell
ADB input: ["ls /data/data/com.xamarin.xtcandroidsample.test/files/calabash_failure.out; echo \"__CAL_END__$?\"; exit 0"]
Getting: http://127.0.0.1:33765/ping
Http error: HTTPClient::KeepAliveDisconnected:
ADB Command: -s, 015d168974380006, shell
ADB input: ["ls /data/data/com.xamarin.xtcandroidsample.test/files/calabash_failure.out; echo \"__CAL_END__$?\"; exit 0"]
Getting: http://127.0.0.1:33765/ping
Http error: HTTPClient::KeepAliveDisconnected:
ADB Command: -s, 015d168974380006, shell
ADB input: ["ls /data/data/com.xamarin.xtcandroidsample.test/files/calabash_failure.out; echo \"__CAL_END__$?\"; exit 0"]
Getting: http://127.0.0.1:33765/ping
Http error: HTTPClient::KeepAliveDisconnected: