Chromium Code Reviews| 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 'bot_update', | 6 'bot_update', |
| 7 'chromium', | 7 'chromium', |
| 8 'chromium_tests', | 8 'chromium_tests', |
| 9 'gclient', | 9 'gclient', |
| 10 'gpu', | 10 'gpu', |
| (...skipping 911 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 922 # TODO(phajdan.jr): Set failed tryjob result after recognizing infra | 922 # TODO(phajdan.jr): Set failed tryjob result after recognizing infra |
| 923 # compile failures. We've seen cases of compile with patch failing | 923 # compile failures. We've seen cases of compile with patch failing |
| 924 # with build steps getting killed, compile without patch succeeding, | 924 # with build steps getting killed, compile without patch succeeding, |
| 925 # and compile with patch succeeding on another attempt with same patch. | 925 # and compile with patch succeeding on another attempt with same patch. |
| 926 except api.step.StepFailure: | 926 except api.step.StepFailure: |
| 927 api.tryserver.set_transient_failure_tryjob_result() | 927 api.tryserver.set_transient_failure_tryjob_result() |
| 928 raise | 928 raise |
| 929 raise | 929 raise |
| 930 | 930 |
| 931 if bot_config.get('use_isolate') or has_swarming_tests: | 931 if bot_config.get('use_isolate') or has_swarming_tests: |
| 932 # TODO(sebmarchand): remove_build_metadata, http://crbug.com/314403 . | 932 # Remove the build metadata from the binaries. Currently it's a noop on |
|
M-A Ruel
2014/11/21 19:25:09
The command is not exactly right due to android, I
Sébastien Marchand
2014/11/21 19:34:24
Done.
| |
| 933 # all platforms except Windows where it run zap_timestamp.exe on all the | |
| 934 # PE images. | |
| 935 api.isolate.remove_build_metadata() | |
| 933 # Isolate all prepared targets, will look for *.isolated.gen.json files. | 936 # Isolate all prepared targets, will look for *.isolated.gen.json files. |
| 934 api.isolate.isolate_tests(api.chromium.output_dir, verbose=True) | 937 api.isolate.isolate_tests(api.chromium.output_dir, verbose=True) |
| 935 | 938 |
| 936 if bot_config['compile_only']: | 939 if bot_config['compile_only']: |
| 937 tests = [] | 940 tests = [] |
| 938 | 941 |
| 939 return tests, bot_update_step | 942 return tests, bot_update_step |
| 940 | 943 |
| 941 mastername = api.properties.get('mastername') | 944 mastername = api.properties.get('mastername') |
| 942 buildername = api.properties.get('buildername') | 945 buildername = api.properties.get('buildername') |
| (...skipping 638 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1581 enable_gpu_tests=True, | 1584 enable_gpu_tests=True, |
| 1582 ) + | 1585 ) + |
| 1583 api.platform.name('mac') + | 1586 api.platform.name('mac') + |
| 1584 api.override_step_data( | 1587 api.override_step_data( |
| 1585 'pixel_test on Intel GPU (with patch) on Mac', | 1588 'pixel_test on Intel GPU (with patch) on Mac', |
| 1586 api.json.canned_telemetry_gpu_output(passing=False, swarming=True)) + | 1589 api.json.canned_telemetry_gpu_output(passing=False, swarming=True)) + |
| 1587 api.override_step_data( | 1590 api.override_step_data( |
| 1588 'pixel_test on Intel GPU (without patch) on Mac', | 1591 'pixel_test on Intel GPU (without patch) on Mac', |
| 1589 api.json.canned_telemetry_gpu_output(passing=False, swarming=True)) | 1592 api.json.canned_telemetry_gpu_output(passing=False, swarming=True)) |
| 1590 ) | 1593 ) |
| OLD | NEW |