• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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    <option name="test-suite-tag" value="cts" />
18    <option name="config-descriptor:metadata" key="component" value="libcore" />
19    <option name="config-descriptor:metadata" key="parameter" value="multi_abi" />
20    <option name="config-descriptor:metadata" key="parameter" value="not_instant_app" />
21    <target_preparer class="com.android.tradefed.targetprep.RunCommandTargetPreparer">
22        <option name="run-command" value="mkdir -p /data/local/tmp/ctslibcore/java.io.tmpdir" />
23        <option name="run-command" value="mkdir -p /data/local/tmp/ctslibcore/user.home" />
24        <option name="teardown-command" value="rm -rf /data/local/tmp/ctslibcore" />
25    </target_preparer>
26    <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller">
27        <option name="cleanup-apks" value="true" />
28        <!-- this has just the instrumentation which acts as the tests we want to run -->
29        <option name="test-file-name" value="CtsLibcoreJsr166TestCases.apk" />
30    </target_preparer>
31    <test class="com.android.compatibility.testtype.LibcoreTest" >
32        <option name="package" value="android.libcore.cts.jsr166" />
33        <option name="instrumentation-arg" key="filter"
34                value="com.android.cts.core.runner.ExpectationBasedFilter" />
35        <option name="core-expectation" value="/knownfailures.txt" />
36        <option name="runtime-hint" value="10m"/>
37        <!-- 20x default timeout of 600sec -->
38        <option name="shell-timeout" value="12000000"/>
39        <option name="hidden-api-checks" value="false"/>
40    </test>
41
42    <object type="module_controller" class="com.android.tradefed.testtype.suite.module.TestFailureModuleController">
43        <option name="screenshot-on-failure" value="false" />
44    </object>
45</configuration>
46