shafik | 2340e8b | 2019-05-30 15:15:43 +0100 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2019 The Android Open Source Project |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | --> |
Gavin Corkery | a859e8a | 2019-09-06 12:14:26 +0100 | [diff] [blame] | 16 | <configuration description="Runs rollback tests for multiple users"> |
| 17 | <option name="test-suite-tag" value="MultiUserRollbackTest" /> |
JW Wang | 864d59e | 2020-06-03 17:33:45 +0800 | [diff] [blame] | 18 | <target_preparer class="com.android.tradefed.targetprep.RunCommandTargetPreparer"> |
| 19 | <option name="run-command" value="pm uninstall com.android.cts.install.lib.testapp.A" /> |
| 20 | <option name="run-command" value="pm uninstall com.android.cts.install.lib.testapp.B" /> |
| 21 | <option name="teardown-command" value="pm uninstall com.android.cts.install.lib.testapp.A" /> |
| 22 | <option name="teardown-command" value="pm uninstall com.android.cts.install.lib.testapp.B" /> |
JW Wang | 055f696 | 2021-02-03 11:16:35 +0800 | [diff] [blame] | 23 | <option name="run-command" value="setprop persist.rollback.is_test 1" /> |
| 24 | <option name="teardown-command" value="setprop persist.rollback.is_test 0" /> |
JW Wang | 864d59e | 2020-06-03 17:33:45 +0800 | [diff] [blame] | 25 | </target_preparer> |
shafik | 2340e8b | 2019-05-30 15:15:43 +0100 | [diff] [blame] | 26 | <test class="com.android.tradefed.testtype.HostTest" > |
Gavin Corkery | a859e8a | 2019-09-06 12:14:26 +0100 | [diff] [blame] | 27 | <option name="class" value="com.android.tests.rollback.host.MultiUserRollbackTest" /> |
shafik | 2340e8b | 2019-05-30 15:15:43 +0100 | [diff] [blame] | 28 | </test> |
| 29 | </configuration> |