| <configuration description="Game qualification test"> |
| <build_provider class="com.android.tradefed.build.BootstrapBuildProvider" /> |
| <option name="test-tag" value="game-qualification" /> |
| |
| <target_preparer class="com.android.tradefed.targetprep.DeviceSetup"> |
| <option name="force-skip-system-props" value="true" /> <!-- avoid restarting device --> |
| <option name="screen-always-on" value="on" /> |
| </target_preparer> |
| <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller"> |
| <option name="test-file-name" value="GameCoreDevice.apk" /> |
| <option name="cleanup-apks" value="true" /> |
| </target_preparer> |
| <option name="enable-root" value="false" /> |
| |
| <metrics_collector class="com.android.game.qualification.metric.GameQualificationFpsCollector" /> |
| |
| <!-- Performance tests --> |
| <test class="com.android.game.qualification.testtype.GameQualificationHostsideController" /> |
| |
| <!-- Java functional tests--> |
| <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller"> |
| <option name="test-file-name" value="GameCoreJavaTestCases.apk" /> |
| <option name="cleanup-apks" value="true" /> |
| </target_preparer> |
| <test class="com.android.tradefed.testtype.InstrumentationTest" > |
| <option name="package" value="com.android.game.qualification.tests" /> |
| </test> |
| |
| <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller"> |
| <option name="test-file-name" value="GameCoreAllocStress.apk" /> |
| <option name="cleanup-apks" value="true" /> |
| </target_preparer> |
| <test class="com.android.tradefed.testtype.HostTest" > |
| <option name="class" value="com.android.game.qualification.test.FunctionalTestSuite" /> |
| </test> |
| |
| <!-- Native functional tests --> |
| <target_preparer class="com.android.tradefed.targetprep.PushFilePreparer"> |
| <option name="cleanup" value="true" /> |
| <option name="push" value="GameCoreNativeTestCases->/data/local/tmp/GameCoreNativeTestCases" /> |
| <option name="abort-on-push-failure" value="true" /> |
| </target_preparer> |
| <test class="com.android.tradefed.testtype.GTest"> |
| <option name="native-test-device-path" value="/data/local/tmp" /> |
| <option name="module-name" value="GameCoreNativeTestCases" /> |
| <option name="native-test-flag" value="--gamecore-feature-check=false" /> |
| </test> |
| |
| <result_reporter class="com.android.game.qualification.reporter.GameQualificationResultReporter"/> |
| </configuration> |