The ChromeBloat bot will now also be ignored for LKGRs.

BUG=
TEST=

Review URL: https://webrtc-codereview.appspot.com/543004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2156 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
phoglund@webrtc.org 2012-05-02 06:32:30 +00:00
parent efecc18cdf
commit dbb7f91f36
2 changed files with 2 additions and 1 deletions

View File

@ -48,7 +48,7 @@ def _is_chrome_only_build(revision_to_bot_name):
revisions will not reach that number in the foreseeable future."""
revision = int(revision_to_bot_name.split('--')[0])
bot_name = revision_to_bot_name.split('--')[1]
return bot_name == 'Chrome' and revision > 100000
return bot_name.startswith('Chrome') and revision > 100000
def _filter_chrome_only_builds(bot_to_status_mapping):

View File

@ -29,6 +29,7 @@ class TrackBuildStatusTest(unittest.TestCase):
def test_that_filter_chrome_only_builds_filter_properly(self):
bot_to_status_mapping = copy.deepcopy(NORMAL_BOT_TO_STATUS_MAPPING)
bot_to_status_mapping['133445--Chrome'] = '901--OK'
bot_to_status_mapping['133441--ChromeBloat'] = '344--OK'
result = track_build_status._filter_chrome_only_builds(
bot_to_status_mapping)