blob: 2a3e5d2144d48b168737d17f3d42618c318c3f87 [file] [log] [blame]
Neil Fullerc0426822016-08-26 10:30:50 +01001<?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 Zhu52936792017-06-02 17:17:14 -070017 <option name="config-descriptor:metadata" key="component" value="libcore" />
Neil Fullerc0426822016-08-26 10:30:50 +010018 <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>
jdesprez16872fe2017-04-11 15:43:44 -070023 <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller">
Neil Fullerc0426822016-08-26 10:30:50 +010024 <option name="cleanup-apks" value="true" />
Neil Fullerc0426822016-08-26 10:30:50 +010025 <!-- 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 Zhu02f07b52016-09-14 12:17:31 -070028 <test class="com.android.compatibility.testtype.LibcoreTest" >
Neil Fullerc0426822016-08-26 10:30:50 +010029 <option name="package" value="android.libcore.cts.jsr166" />
Paul Duffinaa3f3a32016-11-10 11:04:24 +000030 <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 Zhu02f07b52016-09-14 12:17:31 -070034 <option name="core-expectation" value="/knownfailures.txt" />
Neil Fullerc0426822016-08-26 10:30:50 +010035 <option name="runtime-hint" value="10m"/>
36 <!-- 20x default timeout of 600sec -->
37 <option name="shell-timeout" value="12000000"/>
38 </test>
39</configuration>