By classifying the tests into 2 categories, we can: 1) run remaining tests with network disabled to reduce the interference of network crashes. 2) make it easier to identify bugs caused by network stack or problems in rollback infra. Note this CL contains stubs only. We will move actual test code later. Bug: 147785893 Test: m Change-Id: I5ecc63a057e9a115ea3aa446970a3f20dff750d0
31 lines
1.6 KiB
XML
31 lines
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2018 The Android Open Source Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
<configuration description="Runs the rollback tests">
|
|
<option name="test-suite-tag" value="RollbackTest" />
|
|
<target_preparer class="com.android.tradefed.targetprep.TestAppInstallSetup">
|
|
<option name="test-file-name" value="RollbackTest.apk" />
|
|
</target_preparer>
|
|
<test class="com.android.tradefed.testtype.AndroidJUnitTest" >
|
|
<option name="package" value="com.android.tests.rollback" />
|
|
<option name="runner" value="androidx.test.runner.AndroidJUnitRunner" />
|
|
|
|
<!-- Exclude the device tests which need to be specially driven from the host tests -->
|
|
<option name="exclude-filter" value="com.android.tests.rollback.StagedRollbackTest" />
|
|
<option name="exclude-filter" value="com.android.tests.rollback.NetworkStagedRollbackTest" />
|
|
<option name="exclude-filter" value="com.android.tests.rollback.MultiUserRollbackTest" />
|
|
</test>
|
|
</configuration>
|