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    <option name="enable-root" value="false" />
10
11    <!-- Java functional tests-->
12    <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller">
13        <option name="test-file-name" value="GameCoreJavaTestCases.apk" />
14        <option name="cleanup-apks" value="true" />
15    </target_preparer>
16    <test class="com.android.tradefed.testtype.InstrumentationTest" >
17        <option name="package" value="com.android.game.qualification.tests" />
18    </test>
19
20    <test class="com.android.tradefed.testtype.HostTest" >
21      <option name="class" value="com.android.game.qualification.test.FunctionalTestSuite" />
22    </test>
23
24    <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller">
25        <option name="test-file-name" value="GameCoreAllocStress.apk" />
26        <option name="cleanup-apks" value="true" />
27    </target_preparer>
28    <test class="com.android.tradefed.testtype.HostTest" >
29      <option name="class" value="com.android.game.qualification.test.MemoryTests" />
30    </test>
31
32    <!-- Native functional tests -->
33    <target_preparer class="com.android.tradefed.targetprep.PushFilePreparer">
34        <option name="cleanup" value="true" />
35        <option name="push" value="GameCoreNativeTestCases->/data/local/tmp/GameCoreNativeTestCases" />
36        <option name="abort-on-push-failure" value="true" />
37    </target_preparer>
38    <test class="com.android.tradefed.testtype.GTest">
39        <option name="native-test-device-path" value="/data/local/tmp" />
40        <option name="module-name" value="GameCoreNativeTestCases" />
41    </test>
42
43    <result_reporter class="com.android.game.qualification.reporter.GameQualificationResultReporter"/>
44</configuration>
45