Xml文件  |  51行  |  2.62 KB

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2016 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->
<configuration description="Runs CTS from a pre-existing CTS installation">

    <include name="cts" />

    <!-- This tells cts-tradefed and the server what the plan name is, reports that have this plan
         name should not be accepted, as it doesn't actually run the tests it simply marks all of
         them as passed.
         Obviously no one would modify the report before uploading to falsify this
         information, as that would be dishonest, and dishonesty kills kittens :'( -->
    <option name="compatibility:plan" value="collect-tests-only" />

    <option name="skip-preconditions" value="true" />
    <option name="skip-connectivity-check" value="true" />
    <option name="preparer-whitelist" value="com.android.compatibility.common.tradefed.targetprep.ApkInstaller" />
    <option name="preparer-whitelist" value="com.android.compatibility.common.tradefed.targetprep.FilePusher" />

    <!-- Tell all AndroidJUnitTests to only list the tests -->
    <option name="compatibility:test-arg" value="com.android.tradefed.testtype.AndroidJUnitTest:collect-tests-only:true" />

    <!-- Tell all GTests to only list the tests -->
    <option name="compatibility:test-arg" value="com.android.tradefed.testtype.GTest:collect-tests-only:true" />

    <!-- Tell all HostTests to only list the tests -->
    <option name="compatibility:test-arg" value="com.android.tradefed.testtype.HostTest:collect-tests-only:true" />

    <!-- Tell all DEQPTests to only list the tests -->
    <option name="compatibility:test-arg" value="com.drawelements.deqp.runner.DeqpTestRunner:collect-tests-only:true" />

    <!-- Tell all JarHostTests to only list the tests -->
    <option name="compatibility:test-arg" value="com.android.compatibility.common.tradefed.testtype.JarHostTest:collect-tests-only:true" />

    <!-- Tell all DalvikTests to only list the tests -->
    <option name="compatibility:test-arg" value="com.android.compatibility.testtype.DalvikTest:collect-tests-only:true" />

</configuration>