1<configuration description="Game qualification test">
2    <build_provider class="com.android.tradefed.build.BootstrapBuildProvider" />
3    <option name="test-tag" value="game-qualification" />
4
5    <target_preparer class="com.android.tradefed.targetprep.DeviceSetup">
6        <option name="force-skip-system-props" value="true" /> <!-- avoid restarting device -->
7        <option name="screen-always-on" value="on" />
8    </target_preparer>
9    <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller">
10        <option name="test-file-name" value="GameCoreDevice.apk" />
11        <option name="cleanup-apks" value="true" />
12    </target_preparer>
13    <option name="enable-root" value="false" />
14
15    <metrics_collector class="com.android.game.qualification.metric.GameQualificationFpsCollector" />
16
17    <!-- Performance tests -->
18    <test class="com.android.game.qualification.testtype.GameQualificationHostsideController" />
19
20    <!-- Java functional tests-->
21    <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller">
22        <option name="test-file-name" value="GameCoreJavaTestCases.apk" />
23        <option name="cleanup-apks" value="true" />
24    </target_preparer>
25    <test class="com.android.tradefed.testtype.InstrumentationTest" >
26        <option name="package" value="com.android.game.qualification.tests" />
27    </test>
28
29    <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller">
30        <option name="test-file-name" value="GameCoreAllocStress.apk" />
31        <option name="cleanup-apks" value="true" />
32    </target_preparer>
33    <test class="com.android.tradefed.testtype.HostTest" >
34      <option name="class" value="com.android.game.qualification.test.FunctionalTestSuite" />
35    </test>
36
37    <!-- Native functional tests -->
38    <target_preparer class="com.android.tradefed.targetprep.PushFilePreparer">
39        <option name="cleanup" value="true" />
40        <option name="push" value="GameCoreNativeTestCases->/data/local/tmp/GameCoreNativeTestCases" />
41        <option name="abort-on-push-failure" value="true" />
42    </target_preparer>
43    <test class="com.android.tradefed.testtype.GTest">
44        <option name="native-test-device-path" value="/data/local/tmp" />
45        <option name="module-name" value="GameCoreNativeTestCases" />
46        <option name="native-test-flag" value="--gamecore-feature-check=false" />
47    </test>
48
49    <result_reporter class="com.android.game.qualification.reporter.GameQualificationResultReporter"/>
50</configuration>
51