| 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 DEPS = [ | 5 DEPS = [ |
| 6 'chromium', | 6 'chromium', |
| 7 'gclient', | 7 'gclient', |
| 8 'json', | 8 'json', |
| 9 'path', | 9 'path', |
| 10 'platform', | 10 'platform', |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 | 48 |
| 49 if r.unexpected_flakes or r.unexpected_failures: | 49 if r.unexpected_flakes or r.unexpected_failures: |
| 50 p.status = 'WARNING' | 50 p.status = 'WARNING' |
| 51 else: | 51 else: |
| 52 p.status = 'SUCCESS' | 52 p.status = 'SUCCESS' |
| 53 | 53 |
| 54 yield api.chromium.runtests(self.layout_test_wrapper, | 54 yield api.chromium.runtests(self.layout_test_wrapper, |
| 55 args, | 55 args, |
| 56 name=self._step_name(suffix), | 56 name=self._step_name(suffix), |
| 57 can_fail_build=False, | 57 can_fail_build=False, |
| 58 xvfb=True, |
| 58 followup_fn=followup_fn) | 59 followup_fn=followup_fn) |
| 59 | 60 |
| 60 if suffix == 'with patch': | 61 if suffix == 'with patch': |
| 61 buildername = api.properties['buildername'] | 62 buildername = api.properties['buildername'] |
| 62 buildnumber = api.properties['buildnumber'] | 63 buildnumber = api.properties['buildnumber'] |
| 63 def archive_webkit_tests_results_followup(step_result): | 64 def archive_webkit_tests_results_followup(step_result): |
| 64 base = ( | 65 base = ( |
| 65 "https://storage.googleapis.com/chromium-layout-test-archives/%s/%
s" % | 66 "https://storage.googleapis.com/chromium-layout-test-archives/%s/%
s" % |
| 66 (buildername, buildnumber)) | 67 (buildername, buildnumber)) |
| 67 | 68 |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 api.test('bad_revert_bails') + | 186 api.test('bad_revert_bails') + |
| 186 props() + | 187 props() + |
| 187 api.step_data('gclient revert', retcode=1) | 188 api.step_data('gclient revert', retcode=1) |
| 188 ) | 189 ) |
| 189 | 190 |
| 190 yield ( | 191 yield ( |
| 191 api.test('bad_sync_bails') + | 192 api.test('bad_sync_bails') + |
| 192 props() + | 193 props() + |
| 193 api.step_data('gclient sync', retcode=1) | 194 api.step_data('gclient sync', retcode=1) |
| 194 ) | 195 ) |
| OLD | NEW |