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"> |
| 17 | <target_preparer class="com.android.tradefed.targetprep.RunCommandTargetPreparer"> |
| 18 | <option name="run-command" value="mkdir -p /data/local/tmp/ctslibcore/java.io.tmpdir" /> |
| 19 | <option name="run-command" value="mkdir -p /data/local/tmp/ctslibcore/user.home" /> |
| 20 | <option name="teardown-command" value="rm -rf /data/local/tmp/ctslibcore" /> |
| 21 | </target_preparer> |
| 22 | <target_preparer class="com.android.compatibility.common.tradefed.targetprep.ApkInstaller"> |
| 23 | <option name="cleanup-apks" value="true" /> |
Neil Fuller | c042682 | 2016-08-26 10:30:50 +0100 | [diff] [blame] | 24 | <!-- this has just the instrumentation which acts as the tests we want to run --> |
| 25 | <option name="test-file-name" value="CtsLibcoreJsr166TestCases.apk" /> |
| 26 | </target_preparer> |
Guang Zhu | 02f07b5 | 2016-09-14 12:17:31 -0700 | [diff] [blame] | 27 | <test class="com.android.compatibility.testtype.LibcoreTest" > |
Neil Fuller | c042682 | 2016-08-26 10:30:50 +0100 | [diff] [blame] | 28 | <option name="package" value="android.libcore.cts.jsr166" /> |
Paul Duffin | aa3f3a3 | 2016-11-10 11:04:24 +0000 | [diff] [blame^] | 29 | <option name="instrumentation-arg" key="listener" |
| 30 | value="com.android.cts.runner.CtsTestRunListener" /> |
| 31 | <option name="instrumentation-arg" key="filter" |
| 32 | value="com.android.cts.core.runner.ExpectationBasedFilter" /> |
Guang Zhu | 02f07b5 | 2016-09-14 12:17:31 -0700 | [diff] [blame] | 33 | <option name="core-expectation" value="/knownfailures.txt" /> |
| 34 | <option name="core-expectation" value="/brokentests.txt" /> |
| 35 | <option name="core-expectation" value="/icebox.txt" /> |
| 36 | <option name="core-expectation" value="/taggedtests.txt" /> |
Neil Fuller | c042682 | 2016-08-26 10:30:50 +0100 | [diff] [blame] | 37 | <option name="runtime-hint" value="10m"/> |
| 38 | <!-- 20x default timeout of 600sec --> |
| 39 | <option name="shell-timeout" value="12000000"/> |
| 40 | </test> |
| 41 | </configuration> |