diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2021-03-25 02:13:18 +0100 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-03-25 02:13:18 +0100 |
commit | a6915b249c3ba502d2750c3bb43d0f227967b744 (patch) | |
tree | 62d88b91f44be6a81fee8d03f99f5a027691b92b | |
parent | Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev (diff) | |
parent | Merge "Fix flaky tests by require root for minadbd_tests" am: f820e62701 am: d66516ea7c (diff) | |
download | android_bootable_recovery-a6915b249c3ba502d2750c3bb43d0f227967b744.tar android_bootable_recovery-a6915b249c3ba502d2750c3bb43d0f227967b744.tar.gz android_bootable_recovery-a6915b249c3ba502d2750c3bb43d0f227967b744.tar.bz2 android_bootable_recovery-a6915b249c3ba502d2750c3bb43d0f227967b744.tar.lz android_bootable_recovery-a6915b249c3ba502d2750c3bb43d0f227967b744.tar.xz android_bootable_recovery-a6915b249c3ba502d2750c3bb43d0f227967b744.tar.zst android_bootable_recovery-a6915b249c3ba502d2750c3bb43d0f227967b744.zip |
-rw-r--r-- | minadbd/Android.bp | 1 | ||||
-rw-r--r-- | minadbd/AndroidTest.xml | 3 |
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> |