summaryrefslogtreecommitdiffstats
path: root/minadbd
diff options
context:
space:
mode:
authorKelvin Zhang <zhangkelvin@google.com>2020-08-24 20:33:03 +0200
committerKelvin Zhang <zhangkelvin@google.com>2020-08-24 20:36:01 +0200
commitd7ae5a020c901eb49fb823cdc680b86701a18667 (patch)
treeec49aab34d3638a0c320d4fe8a616f301261956b /minadbd
parentMerge "Return the correct action for PromptAndWait" (diff)
downloadandroid_bootable_recovery-d7ae5a020c901eb49fb823cdc680b86701a18667.tar
android_bootable_recovery-d7ae5a020c901eb49fb823cdc680b86701a18667.tar.gz
android_bootable_recovery-d7ae5a020c901eb49fb823cdc680b86701a18667.tar.bz2
android_bootable_recovery-d7ae5a020c901eb49fb823cdc680b86701a18667.tar.lz
android_bootable_recovery-d7ae5a020c901eb49fb823cdc680b86701a18667.tar.xz
android_bootable_recovery-d7ae5a020c901eb49fb823cdc680b86701a18667.tar.zst
android_bootable_recovery-d7ae5a020c901eb49fb823cdc680b86701a18667.zip
Diffstat (limited to 'minadbd')
-rw-r--r--minadbd/Android.bp1
-rw-r--r--minadbd/AndroidTest.xml3
2 files changed, 3 insertions, 1 deletions
diff --git a/minadbd/Android.bp b/minadbd/Android.bp
index 4cdcac6d9..b6ca59efa 100644
--- a/minadbd/Android.bp
+++ b/minadbd/Android.bp
@@ -135,4 +135,5 @@ cc_test {
test_suites: [
"device-tests",
],
+ require_root: true,
}
diff --git a/minadbd/AndroidTest.xml b/minadbd/AndroidTest.xml
index 7ea235b7c..dbcbac250 100644
--- a/minadbd/AndroidTest.xml
+++ b/minadbd/AndroidTest.xml
@@ -18,9 +18,10 @@
<option name="cleanup" value="true" />
<option name="push" value="minadbd_test->/data/local/tmp/minadbd_test" />
</target_preparer>
+ <target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer"/>
<option name="test-suite-tag" value="apct" />
<test class="com.android.tradefed.testtype.GTest" >
<option name="native-test-device-path" value="/data/local/tmp" />
<option name="module-name" value="minadbd_test" />
</test>
-</configuration> \ No newline at end of file
+</configuration>