summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Julien Desprez <jdesprez@google.com> 2024-02-14 04:19:02 +0000
committer Julien Desprez <jdesprez@google.com> 2024-02-14 04:19:02 +0000
commit76aa9d6ab13c5df7e00eff408a33e2ca7904cd86 (patch)
tree6c3a98fdf02c29579f88677b5b1fc3d9991fe129
parent8c62d81fc813f88d2a72c605d20a604c331436ff (diff)
Add RootTargetPreparer for explicitly specifying the root dependency
Before, the test gets root implicitly via DeviceSetup which wasn't intented. Change-Id: I4b86fd5ee31f746942a2bf073a29cb2180a39f27 Test: presubmit Bug: 325094408
-rw-r--r--tests/BootImageProfileTest/AndroidTest.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/BootImageProfileTest/AndroidTest.xml b/tests/BootImageProfileTest/AndroidTest.xml
index 7e97fa3a8ff1..9b527dc159ee 100644
--- a/tests/BootImageProfileTest/AndroidTest.xml
+++ b/tests/BootImageProfileTest/AndroidTest.xml
@@ -14,6 +14,7 @@
limitations under the License.
-->
<configuration description="Config for BootImageProfileTest">
+ <target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer" />
<!-- do not use DeviceSetup#set-property because it reboots the device b/136200738.
furthermore the changes in /data/local.prop don't actually seem to get picked up.
-->