| OLD | NEW |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import os | 5 import os |
| 6 import re | 6 import re |
| 7 import urllib | 7 import urllib |
| 8 | 8 |
| 9 from infra.libs.infra_types import freeze | 9 from infra.libs.infra_types import freeze |
| 10 from slave import recipe_api | 10 from recipe_engine import recipe_api |
| 11 | 11 |
| 12 INSTRUMENTATION_TESTS = freeze([ | 12 INSTRUMENTATION_TESTS = freeze([ |
| 13 { | 13 { |
| 14 'test': 'AndroidWebViewTest', | 14 'test': 'AndroidWebViewTest', |
| 15 'gyp_target': 'android_webview_test_apk', | 15 'gyp_target': 'android_webview_test_apk', |
| 16 'kwargs': { | 16 'kwargs': { |
| 17 'install_apk': { | 17 'install_apk': { |
| 18 'package': 'org.chromium.android_webview.shell', | 18 'package': 'org.chromium.android_webview.shell', |
| 19 'apk': 'AndroidWebView.apk' | 19 'apk': 'AndroidWebView.apk' |
| 20 }, | 20 }, |
| (...skipping 736 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 757 except self.m.step.StepFailure as f: | 757 except self.m.step.StepFailure as f: |
| 758 step_result = f.result | 758 step_result = f.result |
| 759 raise | 759 raise |
| 760 finally: | 760 finally: |
| 761 if (step_result.retcode == EXIT_CODES['error']): | 761 if (step_result.retcode == EXIT_CODES['error']): |
| 762 step_result.presentation.status = self.m.step.FAILURE | 762 step_result.presentation.status = self.m.step.FAILURE |
| 763 elif (step_result.retcode == EXIT_CODES['infra']): | 763 elif (step_result.retcode == EXIT_CODES['infra']): |
| 764 step_result.presentation.status = self.m.step.EXCEPTION | 764 step_result.presentation.status = self.m.step.EXCEPTION |
| 765 elif (step_result.retcode == EXIT_CODES['warning']): | 765 elif (step_result.retcode == EXIT_CODES['warning']): |
| 766 step_result.presentation.status = self.m.step.WARNING | 766 step_result.presentation.status = self.m.step.WARNING |
| OLD | NEW |