From ce162f3ba18765eb525026f349692d4229acc7f8 Mon Sep 17 00:00:00 2001 From: Jean-Marie Henaff Date: Wed, 4 Oct 2017 10:39:27 +0200 Subject: Enable run of tests on devices and emulators This CL updates the DexVm enum to add add an information about the kind of runtime used to run the tests, whether it's a host version of the runtime or a target one (device or emulator). It adds also the DeviceRunner class which drives the target device for the tests. Change-Id: I10666951f083a4f1da2efe3e9d368803a223a1b2 Bug: --- build.gradle | 2 ++ 1 file changed, 2 insertions(+) (limited to 'build.gradle') diff --git a/build.gradle b/build.gradle index e10d9e0e4..1ad9b98e6 100644 --- a/build.gradle +++ b/build.gradle @@ -140,6 +140,7 @@ dependencies { testCompile group: 'org.smali', name: 'smali', version: '2.2b4' testCompile files('third_party/jasmin/jasmin-2.4.jar') testCompile files('third_party/jdwp-tests/apache-harmony-jdwp-tests-host.jar') + testCompile files('third_party/ddmlib/ddmlib.jar') jctfCommonCompile 'junit:junit:4.12' jctfTestsCompile 'junit:junit:4.12' jctfTestsCompile sourceSets.jctfCommon.output @@ -202,6 +203,7 @@ def cloudDependencies = [ "kotlin", "android_cts_baseline", "shadow", + "ddmlib", ], // All dex-vms have a fixed OS of Linux, as they are only supported on Linux, and will be run in a Docker // container on other platforms where supported. -- cgit v1.2.3