| 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 collections | 5 import collections |
| 6 import contextlib | 6 import contextlib |
| 7 import copy | 7 import copy |
| 8 import itertools | 8 import itertools |
| 9 import json | 9 import json |
| 10 | 10 |
| (...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 449 if (master_config.get('bisect_builders') and | 449 if (master_config.get('bisect_builders') and |
| 450 buildername in master_config.get('bisect_builders')): | 450 buildername in master_config.get('bisect_builders')): |
| 451 self.m.archive.zip_and_upload_build( | 451 self.m.archive.zip_and_upload_build( |
| 452 'package build for bisect', | 452 'package build for bisect', |
| 453 self.m.chromium.c.build_config_fs, | 453 self.m.chromium.c.build_config_fs, |
| 454 build_url=self._build_bisect_gs_archive_url(master_config), | 454 build_url=self._build_bisect_gs_archive_url(master_config), |
| 455 build_revision=build_revision, | 455 build_revision=build_revision, |
| 456 cros_board=self.m.chromium.c.TARGET_CROS_BOARD, | 456 cros_board=self.m.chromium.c.TARGET_CROS_BOARD, |
| 457 update_properties=update_step.presentation.properties, | 457 update_properties=update_step.presentation.properties, |
| 458 exclude_perf_test_files=True, | 458 exclude_perf_test_files=True, |
| 459 store_by_hash=False | 459 store_by_hash=False, |
| 460 platform=self.m.chromium.c.HOST_PLATFORM |
| 460 ) | 461 ) |
| 461 | 462 |
| 462 self.m.archive.zip_and_upload_build( | 463 self.m.archive.zip_and_upload_build( |
| 463 'package build', | 464 'package build', |
| 464 self.m.chromium.c.build_config_fs, | 465 self.m.chromium.c.build_config_fs, |
| 465 build_url=self._build_gs_archive_url( | 466 build_url=self._build_gs_archive_url( |
| 466 mastername, master_config, buildername), | 467 mastername, master_config, buildername), |
| 467 build_revision=build_revision, | 468 build_revision=build_revision, |
| 468 cros_board=self.m.chromium.c.TARGET_CROS_BOARD, | 469 cros_board=self.m.chromium.c.TARGET_CROS_BOARD, |
| 469 # TODO(machenbach): Make asan a configuration switch. | 470 # TODO(machenbach): Make asan a configuration switch. |
| (...skipping 541 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1011 targets in |compile_targets|.""" | 1012 targets in |compile_targets|.""" |
| 1012 result = [] | 1013 result = [] |
| 1013 for test in tests: | 1014 for test in tests: |
| 1014 test_compile_targets = test.compile_targets(api) | 1015 test_compile_targets = test.compile_targets(api) |
| 1015 # Always return tests that don't require compile. Otherwise we'd never | 1016 # Always return tests that don't require compile. Otherwise we'd never |
| 1016 # run them. | 1017 # run them. |
| 1017 if ((set(compile_targets) & set(test_compile_targets)) or | 1018 if ((set(compile_targets) & set(test_compile_targets)) or |
| 1018 not test_compile_targets): | 1019 not test_compile_targets): |
| 1019 result.append(test) | 1020 result.append(test) |
| 1020 return result | 1021 return result |
| OLD | NEW |