Chromium Code Reviews| Index: scripts/slave/recipe_modules/chromium_tests/steps.py |
| diff --git a/scripts/slave/recipe_modules/chromium_tests/steps.py b/scripts/slave/recipe_modules/chromium_tests/steps.py |
| index 9f8b6b677d3c3ffefd2e625f2884b056b7f250d9..eb081c3ef96d21e935bedf2d44c9e8f6ff66633a 100644 |
| --- a/scripts/slave/recipe_modules/chromium_tests/steps.py |
| +++ b/scripts/slave/recipe_modules/chromium_tests/steps.py |
| @@ -484,11 +484,7 @@ def generate_instrumentation_test(api, chromium_tests_api, mastername, |
| else: |
| yield AndroidInstrumentationTest( |
| test_name, |
| - compile_targets=test.get('override_compile_targets', None), |
| - isolate_file_path=test.get('isolate_file_path', None), |
| - apk_under_test=test.get('apk_under_test', None), |
| - test_apk=test.get('test_apk', None), |
| - additional_apks=test.get('additional_apks', None)) |
| + compile_targets=test.get('override_compile_targets', None)) |
| def generate_script(api, chromium_tests_api, mastername, buildername, test_spec, |
| @@ -1073,10 +1069,7 @@ class AMPInstrumentationTest(AMPTest): |
| if self._android_isolate_path else None) |
| return AndroidInstrumentationTest( |
| name=self.name, |
| - compile_targets=self._compile_target, |
| - apk_under_test=self._apk_under_test, |
| - test_apk=self.name, |
| - isolate_file_path=isolate_file_path, |
| + compile_targets=[self._compile_target], |
| timeout_scale=self._test_timeout_scale).run(api, suffix) |
| @@ -1573,56 +1566,30 @@ class AndroidInstrumentationTest(AndroidTest): |
| _DEFAULT_SUITES = { |
| 'AndroidWebViewTest': { |
| 'compile_target': 'android_webview_test_apk', |
| - 'isolate_file_path': 'android_webview/android_webview_test_apk.isolate', |
| - 'apk_under_test': 'AndroidWebView.apk', |
| - 'test_apk': 'AndroidWebViewTest.apk', |
| }, |
| 'ChromePublicTest': { |
| 'compile_target': 'chrome_public_test_apk', |
| - 'isolate_file_path': 'chrome/chrome_public_test_apk.isolate', |
| - 'apk_under_test': 'ChromePublic.apk', |
| - 'test_apk': 'ChromePublicTest.apk', |
| - 'additional_apks': [ |
| - 'ChromePublicTestSupport.apk', |
| - 'ChromiumNetTestSupport.apk', |
| - ], |
| }, |
| 'ChromeSyncShellTest': { |
| 'compile_target': 'chrome_sync_shell_test_apk', |
| - 'isolate_file_path': None, |
| - 'apk_under_test': 'ChromeSyncShell.apk', |
| - 'test_apk': 'ChromeSyncShellTest.apk', |
| }, |
| 'ChromotingTest': { |
| 'compile_target': 'remoting_test_apk', |
| - 'isolate_file_path': None, |
| - 'apk_under_test': 'Chromoting.apk', |
| - 'test_apk': 'ChromotingTest.apk', |
| }, |
| 'ContentShellTest': { |
| 'compile_target': 'content_shell_test_apk', |
| - 'isolate_file_path': 'content/content_shell_test_apk.isolate', |
| - 'apk_under_test': 'ContentShell.apk', |
| - 'test_apk': 'ContentShellTest.apk', |
| }, |
| 'SystemWebViewShellLayoutTest': { |
| 'compile_target': 'system_webview_shell_layout_test_apk', |
| + # TODO(agrieve): Are these needed? |
|
jbudorick
2016/04/02 00:59:57
iirc yes
agrieve
2016/04/05 02:37:01
Updated comment to say that system_webview_shell_l
|
| 'additional_compile_targets': [ |
| 'system_webview_apk', |
| 'system_webview_shell_apk', |
| 'android_tools' |
| ], |
| - 'isolate_file_path': ('android_webview/' |
| - 'system_webview_shell_test_apk.isolate'), |
| - 'apk_under_test': 'SystemWebViewShell.apk', |
| - 'test_apk': 'SystemWebViewShellLayoutTest.apk', |
| - 'additional_apks': ['SystemWebView.apk'], |
| }, |
| 'MojoTest': { |
| 'compile_target': 'mojo_test_apk', |
| - 'isolate_file_path': None, |
| - 'apk_under_test': None, |
| - 'test_apk': 'MojoTest.apk', |
| } |
| } |
| @@ -1651,6 +1618,8 @@ class AndroidInstrumentationTest(AndroidTest): |
| compile_targets = [suite_defaults['compile_target']] |
| compile_targets.extend( |
| suite_defaults.get('additional_compile_targets', [])) |
| + # Normalize the name to be the compile target. |
| + name = compile_targets[0] |
| super(AndroidInstrumentationTest, self).__init__( |
| name, |