Automate testing build output on devices.
authorXavier Ducrohet <xav@android.com>
Thu, 7 Feb 2013 22:00:13 +0000 (14:00 -0800)
committerXavier Ducrohet <xav@android.com>
Thu, 7 Feb 2013 22:02:55 +0000 (14:02 -0800)
commit358e8e001966a7eee1f4c0e2ae73b0b52b93f505
tree92227204396dc4edf427aa6d9ed88fa08e1c7ee3
parent56b5e776c3244d71d7d171009980334e716ecf64
Automate testing build output on devices.

This is to test the plugin itself, not a feature of the plugin.

'gradlew deviceTest' is similar to 'gradlew buildTest' in that
it requires an SDK through ANDROID_HOME, and then builds a set
of projects.

It differs in that it then pushed the project (and its test project)
to a connected device and runs the test there.

Note: This is even longer running that buildTest, and since it
requires a device, it is not a dependence on check. This must
be run separately.

Change-Id: I9d211ef22a680a4fba62314e943de3fdd54e4eee
gradle/build.gradle
gradle/src/build-test/groovy/com/android/build/gradle/AutomatedBuildTest.java
gradle/src/build-test/groovy/com/android/build/gradle/BuildTest.java
gradle/src/device-test/groovy/com/android/build/gradle/DeviceTest.groovy [deleted file]
gradle/src/device-test/groovy/com/android/build/gradle/DeviceTest.java [new file with mode: 0644]