| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 datetime | 5 import datetime |
| 6 import json | 6 import json |
| 7 import re | 7 import re |
| 8 import string | 8 import string |
| 9 | 9 |
| 10 | 10 |
| (...skipping 1870 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1881 'run find_annotated_tests.py', | 1881 'run find_annotated_tests.py', |
| 1882 api.path['checkout'].join( | 1882 api.path['checkout'].join( |
| 1883 'tools', 'android', 'find_annotated_tests.py'), | 1883 'tools', 'android', 'find_annotated_tests.py'), |
| 1884 cwd=api.path['checkout'], | 1884 cwd=api.path['checkout'], |
| 1885 args=args) | 1885 args=args) |
| 1886 api.gsutil.upload( | 1886 api.gsutil.upload( |
| 1887 temp_output_dir.join( | 1887 temp_output_dir.join( |
| 1888 '%s-android-chrome.json' % timestamp_string), | 1888 '%s-android-chrome.json' % timestamp_string), |
| 1889 'chromium-annotated-tests', 'android') | 1889 'chromium-annotated-tests', 'android') |
| 1890 | 1890 |
| 1891 class UploadRenderTestFailures(Test): |
| 1892 |
| 1893 def __init__(self, render_results_dir=None): |
| 1894 super(UploadRenderTestFailures, self).__init__() |
| 1895 self._render_results_dir = render_results_dir |
| 1896 |
| 1897 @property |
| 1898 def name(self): |
| 1899 return 'upload_render_test_failures' |
| 1900 |
| 1901 @property |
| 1902 def uses_local_devices(self): |
| 1903 return True |
| 1904 |
| 1905 @staticmethod |
| 1906 def compile_targets(api): |
| 1907 return [] |
| 1908 |
| 1909 def run(self, api, suffix, test_filter=None): |
| 1910 api.chromium_android.upload_render_test_failures( |
| 1911 render_results_dir=self._render_results_dir) |
| 1912 |
| 1891 GOMA_TESTS = [ | 1913 GOMA_TESTS = [ |
| 1892 GTestTest('base_unittests'), | 1914 GTestTest('base_unittests'), |
| 1893 GTestTest('content_unittests'), | 1915 GTestTest('content_unittests'), |
| 1894 ] | 1916 ] |
| OLD | NEW |