Neil Fuller | c042682 | 2016-08-26 10:30:50 +0100 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2016 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 Libcore JSR166 test cases"> |
Guang Zhu | c40b6fd | 2017-06-02 17:17:14 -0700 | [diff] [blame] | 17 | <option name="config-descriptor:metadata" key="component" value="libcore" /> |
Neil Fuller | c042682 | 2016-08-26 10:30:50 +0100 | [diff] [blame] | 18 | <target_preparer class="com.android.tradefed.targetprep.RunCommandTargetPreparer"> |
| 19 | <option name="run-command" value="mkdir -p /data/local/tmp/ctslibcore/java.io.tmpdir" /> |
| 20 | <option name="run-command" value="mkdir -p /data/local/tmp/ctslibcore/user.home" /> |
| 21 | <option name="teardown-command" value="rm -rf /data/local/tmp/ctslibcore" /> |
| 22 | </target_preparer> |
jdesprez | fd6d41d | 2017-04-11 15:43:44 -0700 | [diff] [blame] | 23 | <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller"> |
Neil Fuller | c042682 | 2016-08-26 10:30:50 +0100 | [diff] [blame] | 24 | <option name="cleanup-apks" value="true" /> |
Neil Fuller | c042682 | 2016-08-26 10:30:50 +0100 | [diff] [blame] | 25 | <!-- this has just the instrumentation which acts as the tests we want to run --> |
| 26 | <option name="test-file-name" value="CtsLibcoreJsr166TestCases.apk" /> |
| 27 | </target_preparer> |
Guang Zhu | 02f07b5 | 2016-09-14 12:17:31 -0700 | [diff] [blame] | 28 | <test class="com.android.compatibility.testtype.LibcoreTest" > |
Neil Fuller | c042682 | 2016-08-26 10:30:50 +0100 | [diff] [blame] | 29 | <option name="package" value="android.libcore.cts.jsr166" /> |
Paul Duffin | aa3f3a3 | 2016-11-10 11:04:24 +0000 | [diff] [blame] | 30 | <option name="instrumentation-arg" key="listener" |
| 31 | value="com.android.cts.runner.CtsTestRunListener" /> |
| 32 | <option name="instrumentation-arg" key="filter" |
| 33 | value="com.android.cts.core.runner.ExpectationBasedFilter" /> |
Guang Zhu | 02f07b5 | 2016-09-14 12:17:31 -0700 | [diff] [blame] | 34 | <option name="core-expectation" value="/knownfailures.txt" /> |
Neil Fuller | c042682 | 2016-08-26 10:30:50 +0100 | [diff] [blame] | 35 | <option name="runtime-hint" value="10m"/> |
| 36 | <!-- 20x default timeout of 600sec --> |
| 37 | <option name="shell-timeout" value="12000000"/> |
Nicolas Geoffray | 2491539 | 2018-04-03 09:13:23 +0100 | [diff] [blame] | 38 | <option name="hidden-api-checks" value="false"/> |
Neil Fuller | c042682 | 2016-08-26 10:30:50 +0100 | [diff] [blame] | 39 | </test> |
| 40 | </configuration> |