Paul Duffin | 20802de | 2017-07-04 15:12:05 +0100 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2017 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 | --> |
| 16 | <configuration description="Config for CTS API Signature test cases"> |
| 17 | <option name="config-descriptor:metadata" key="component" value="systems" /> |
| 18 | <target_preparer class="com.android.tradefed.targetprep.RunCommandTargetPreparer"> |
| 19 | <option name="run-command" value="mkdir -p /data/local/tmp/signature-test" /> |
| 20 | <option name="teardown-command" value="rm -rf /data/local/tmp/signature-test" /> |
| 21 | </target_preparer> |
| 22 | <target_preparer class="com.android.compatibility.common.tradefed.targetprep.FilePusher"> |
| 23 | <option name="push" value="current.api->/data/local/tmp/signature-test/current.api" /> |
| 24 | </target_preparer> |
| 25 | <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller"> |
| 26 | <option name="cleanup-apks" value="true" /> |
| 27 | <option name="test-file-name" value="CtsApiSignatureTestCases.apk" /> |
| 28 | </target_preparer> |
| 29 | <test class="com.android.tradefed.testtype.AndroidJUnitTest" > |
| 30 | <option name="package" value="android.signature.cts.api" /> |
Paul Duffin | 16df155 | 2017-07-05 10:13:16 +0100 | [diff] [blame] | 31 | <option name="runner" value="repackaged.android.test.InstrumentationTestRunner" /> |
Paul Duffin | 1b18457 | 2017-07-05 13:03:23 +0100 | [diff] [blame^] | 32 | <option name="instrumentation-arg" key="expected-api-files" value="current.api" /> |
Paul Duffin | 20802de | 2017-07-04 15:12:05 +0100 | [diff] [blame] | 33 | <option name="runtime-hint" value="30s" /> |
| 34 | </test> |
| 35 | </configuration> |