summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2020-08-25 03:59:47 +0200
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-08-25 03:59:47 +0200
commite02247070b82bef4a62e9185be4c440a9b63bb5e (patch)
tree92a2d7d3ea8ecfaa1aa7304d5667cfbf25c1d2e4
parentMerge "Return the correct action for PromptAndWait" am: 99277fa6af am: c55e7fd95d am: b5d418af52 am: 4360c29cf7 am: 7f269b07c1 am: de8e518668 (diff)
parentMerge "Fix flaky tests by require root for minadbd_tests" am: f820e62701 am: d66516ea7c am: bc606682d2 am: be7f315c9d am: 7082d05439 (diff)
downloadandroid_bootable_recovery-e02247070b82bef4a62e9185be4c440a9b63bb5e.tar
android_bootable_recovery-e02247070b82bef4a62e9185be4c440a9b63bb5e.tar.gz
android_bootable_recovery-e02247070b82bef4a62e9185be4c440a9b63bb5e.tar.bz2
android_bootable_recovery-e02247070b82bef4a62e9185be4c440a9b63bb5e.tar.lz
android_bootable_recovery-e02247070b82bef4a62e9185be4c440a9b63bb5e.tar.xz
android_bootable_recovery-e02247070b82bef4a62e9185be4c440a9b63bb5e.tar.zst
android_bootable_recovery-e02247070b82bef4a62e9185be4c440a9b63bb5e.zip
-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>