| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 argparse | 5 import argparse |
| 6 import json | 6 import json |
| 7 import logging | 7 import logging |
| 8 import os | 8 import os |
| 9 import platform | 9 import platform |
| 10 import subprocess | 10 import subprocess |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 'android_perf_bisect_builder', | 32 'android_perf_bisect_builder', |
| 33 'android_arm64_perf_bisect_builder', | 33 'android_arm64_perf_bisect_builder', |
| 34 # Bisect FYI bots are not meant for testing actual perf regressions. | 34 # Bisect FYI bots are not meant for testing actual perf regressions. |
| 35 # Hardware configuration on these bots is different from actual bisect bot | 35 # Hardware configuration on these bots is different from actual bisect bot |
| 36 # and these bots runs E2E integration tests for auto-bisect | 36 # and these bots runs E2E integration tests for auto-bisect |
| 37 # using dummy benchmarks. | 37 # using dummy benchmarks. |
| 38 'linux_fyi_perf_bisect', | 38 'linux_fyi_perf_bisect', |
| 39 'mac_fyi_perf_bisect', | 39 'mac_fyi_perf_bisect', |
| 40 'win_fyi_perf_bisect', | 40 'win_fyi_perf_bisect', |
| 41 'winx64_fyi_perf_bisect', | 41 'winx64_fyi_perf_bisect', |
| 42 # CQ bots on tryserver.chromium.perf | |
| 43 'android_s5_perf_cq', | |
| 44 'winx64_10_perf_cq', | |
| 45 'mac_retina_perf_cq', | |
| 46 'linux_perf_cq', | |
| 47 } | 42 } |
| 48 | 43 |
| 49 INCLUDE_BOTS = [ | 44 INCLUDE_BOTS = [ |
| 50 'all', | 45 'all', |
| 51 'all-win', | 46 'all-win', |
| 52 'all-mac', | 47 'all-mac', |
| 53 'all-linux', | 48 'all-linux', |
| 54 'all-android' | 49 'all-android' |
| 55 ] | 50 ] |
| 56 | 51 |
| (...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 601 # Add deps overrides to git try --properties arg. | 596 # Add deps overrides to git try --properties arg. |
| 602 if deps_override: | 597 if deps_override: |
| 603 git_try_command.extend([ | 598 git_try_command.extend([ |
| 604 '-p', 'deps_revision_overrides=%s' % json.dumps(deps_override)]) | 599 '-p', 'deps_revision_overrides=%s' % json.dumps(deps_override)]) |
| 605 error_msg_on_fail += ' with DEPS override (%s)' % deps_override | 600 error_msg_on_fail += ' with DEPS override (%s)' % deps_override |
| 606 for bot in self._builder_names[bot_platform]: | 601 for bot in self._builder_names[bot_platform]: |
| 607 git_try_command.extend(['-b', bot]) | 602 git_try_command.extend(['-b', bot]) |
| 608 | 603 |
| 609 RunGit(git_try_command, error_msg_on_fail) | 604 RunGit(git_try_command, error_msg_on_fail) |
| 610 print 'Perf Try job sent to rietveld for %s platform.' % bot_platform | 605 print 'Perf Try job sent to rietveld for %s platform.' % bot_platform |
| OLD | NEW |