Raymond Chiu | 043217b | 2018-05-15 17:22:56 -0700 | [diff] [blame] | 1 | <configuration description="Game qualification test"> |
Raymond Chiu | 5768042 | 2018-06-26 14:43:26 -0700 | [diff] [blame] | 2 | <build_provider class="com.android.tradefed.build.BootstrapBuildProvider" /> |
Raymond Chiu | 043217b | 2018-05-15 17:22:56 -0700 | [diff] [blame] | 3 | <option name="test-tag" value="game-qualification" /> |
Raymond Chiu | 5768042 | 2018-06-26 14:43:26 -0700 | [diff] [blame] | 4 | |
Raymond Chiu | 34c48f8 | 2018-05-23 12:11:24 -0700 | [diff] [blame] | 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> |
Chris Forbes | 05d16b0 | 2018-08-22 17:11:34 -0700 | [diff] [blame] | 9 | <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller"> |
Raymond Chiu | 9ed971e | 2019-03-22 16:14:53 -0700 | [diff] [blame] | 10 | <option name="test-file-name" value="GameCoreDevice.apk" /> |
Chris Forbes | 05d16b0 | 2018-08-22 17:11:34 -0700 | [diff] [blame] | 11 | <option name="cleanup-apks" value="true" /> |
Raymond Chiu | 2179ac0 | 2018-03-23 17:25:37 -0700 | [diff] [blame] | 12 | </target_preparer> |
Hernan Liatis | 0902332 | 2018-06-14 16:21:30 -0700 | [diff] [blame] | 13 | <option name="enable-root" value="false" /> |
Raymond Chiu | 2179ac0 | 2018-03-23 17:25:37 -0700 | [diff] [blame] | 14 | |
Chris Forbes | dde9ec8 | 2018-08-22 11:58:53 -0700 | [diff] [blame] | 15 | <metrics_collector class="com.android.game.qualification.metric.GameQualificationFpsCollector" /> |
Hernan Liatis | b95ede2 | 2018-04-23 16:40:45 -0700 | [diff] [blame] | 16 | |
Raymond Chiu | 5768042 | 2018-06-26 14:43:26 -0700 | [diff] [blame] | 17 | <!-- Performance tests --> |
Raymond Chiu | 043217b | 2018-05-15 17:22:56 -0700 | [diff] [blame] | 18 | <test class="com.android.game.qualification.testtype.GameQualificationHostsideController" /> |
Raymond Chiu | 8efcb8a | 2018-06-11 17:47:37 -0700 | [diff] [blame] | 19 | |
Raymond Chiu | 6376353 | 2018-07-03 10:38:05 -0700 | [diff] [blame] | 20 | <!-- Java functional tests--> |
Chris Forbes | 05d16b0 | 2018-08-22 17:11:34 -0700 | [diff] [blame] | 21 | <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller"> |
Raymond Chiu | 9ed971e | 2019-03-22 16:14:53 -0700 | [diff] [blame] | 22 | <option name="test-file-name" value="GameCoreJavaTestCases.apk" /> |
Chris Forbes | 05d16b0 | 2018-08-22 17:11:34 -0700 | [diff] [blame] | 23 | <option name="cleanup-apks" value="true" /> |
Raymond Chiu | 6376353 | 2018-07-03 10:38:05 -0700 | [diff] [blame] | 24 | </target_preparer> |
| 25 | <test class="com.android.tradefed.testtype.InstrumentationTest" > |
| 26 | <option name="package" value="com.android.game.qualification.tests" /> |
| 27 | </test> |
Raymond Chiu | fe4d907 | 2018-10-23 17:35:03 -0700 | [diff] [blame] | 28 | |
Hernan Liatis | 839fcbb | 2018-09-28 11:34:21 -0700 | [diff] [blame] | 29 | <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller"> |
Raymond Chiu | 9ed971e | 2019-03-22 16:14:53 -0700 | [diff] [blame] | 30 | <option name="test-file-name" value="GameCoreAllocStress.apk" /> |
Hernan Liatis | 839fcbb | 2018-09-28 11:34:21 -0700 | [diff] [blame] | 31 | <option name="cleanup-apks" value="true" /> |
| 32 | </target_preparer> |
| 33 | <test class="com.android.tradefed.testtype.HostTest" > |
Raymond Chiu | 1fecb87 | 2019-03-22 17:25:54 -0700 | [diff] [blame] | 34 | <option name="class" value="com.android.game.qualification.test.FunctionalTestSuite" /> |
Hernan Liatis | 839fcbb | 2018-09-28 11:34:21 -0700 | [diff] [blame] | 35 | </test> |
| 36 | |
Raymond Chiu | 5768042 | 2018-06-26 14:43:26 -0700 | [diff] [blame] | 37 | <!-- Native functional tests --> |
| 38 | <target_preparer class="com.android.tradefed.targetprep.PushFilePreparer"> |
| 39 | <option name="cleanup" value="true" /> |
Raymond Chiu | 9ed971e | 2019-03-22 16:14:53 -0700 | [diff] [blame] | 40 | <option name="push" value="GameCoreNativeTestCases->/data/local/tmp/GameCoreNativeTestCases" /> |
Raymond Chiu | 5768042 | 2018-06-26 14:43:26 -0700 | [diff] [blame] | 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" /> |
Raymond Chiu | 9ed971e | 2019-03-22 16:14:53 -0700 | [diff] [blame] | 45 | <option name="module-name" value="GameCoreNativeTestCases" /> |
Raymond Chiu | 63cd6f2 | 2019-03-28 14:15:40 -0700 | [diff] [blame] | 46 | <option name="native-test-flag" value="--gamecore-feature-check=false" /> |
Raymond Chiu | 5768042 | 2018-06-26 14:43:26 -0700 | [diff] [blame] | 47 | </test> |
| 48 | |
Raymond Chiu | 8efcb8a | 2018-06-11 17:47:37 -0700 | [diff] [blame] | 49 | <result_reporter class="com.android.game.qualification.reporter.GameQualificationResultReporter"/> |
Raymond Chiu | 2179ac0 | 2018-03-23 17:25:37 -0700 | [diff] [blame] | 50 | </configuration> |