OSDN Git Service

Add support for adb.device.arg to the test Ant rules.
authorXavier Ducrohet <xav@android.com>
Fri, 28 May 2010 17:49:52 +0000 (10:49 -0700)
committerXavier Ducrohet <xav@android.com>
Fri, 28 May 2010 17:49:52 +0000 (10:49 -0700)
Change-Id: Idfc39bcdd79f17700952bb66ed1b67a840495011

files/ant/ant_test_rules_r3.xml

index 04cd3ed..62fc77d 100644 (file)
@@ -23,6 +23,7 @@
         <sequential>
             <echo>Running tests ...</echo>
             <exec executable="${adb}" failonerror="true">
+                <arg line="${adb.device.arg}" />
                 <arg value="shell" />
                 <arg value="am" />
                    <arg value="instrument" />
@@ -77,6 +78,7 @@
         </run-tests-helper>
         <echo>Downloading coverage file into project directory...</echo>
         <exec executable="${adb}" failonerror="true">
+            <arg line="${adb.device.arg}" />
             <arg value="pull" />
             <arg value="${emma.dump.file}" />
             <arg value="coverage.ec" />