Add RootTargetPreparer for CtsInitTestCases and CtsFsMgrTestCases
Some of the test cases in CtsInitTestCases and CtsFsMgrTestCases require root. This CL makes it possible to run such tests cases on userdebug builds, which in turn means that they will be run on presubmit. New option was implemented in https://android-review.googlesource.com/c/platform/tools/tradefederation/+/1283834 Test: atest CtsInitTestCases Test: atest CtsFsMgrTestCases Change-Id: I3d29789ddd7ac549e40ac193c58d986670c49285
This commit is contained in:
parent
8b8743462c
commit
f3504ec58d
2 changed files with 6 additions and 0 deletions
|
@ -21,6 +21,9 @@
|
|||
<option name="push" value="CtsFsMgrTestCases->/data/local/tmp/CtsFsMgrTestCases" />
|
||||
<option name="append-bitness" value="true" />
|
||||
</target_preparer>
|
||||
<target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer">
|
||||
<option name="throw-on-error" value="false" />
|
||||
</target_preparer>
|
||||
<test class="com.android.tradefed.testtype.GTest" >
|
||||
<option name="native-test-device-path" value="/data/local/tmp" />
|
||||
<option name="module-name" value="CtsFsMgrTestCases" />
|
||||
|
|
|
@ -24,6 +24,9 @@
|
|||
<option name="push" value="CtsInitTestCases->/data/local/tmp/CtsInitTestCases" />
|
||||
<option name="append-bitness" value="true" />
|
||||
</target_preparer>
|
||||
<target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer">
|
||||
<option name="throw-on-error" value="false" />
|
||||
</target_preparer>
|
||||
<test class="com.android.tradefed.testtype.GTest" >
|
||||
<option name="native-test-device-path" value="/data/local/tmp" />
|
||||
<option name="module-name" value="CtsInitTestCases" />
|
||||
|
|
Loading…
Reference in a new issue