Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(94)

Side by Side Diff: PRESUBMIT.py

Issue 10928137: Enable android tests on default tryjobs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 """Top-level presubmit script for Chromium. 5 """Top-level presubmit script for Chromium.
6 6
7 See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts 7 See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts
8 for more details about the presubmit API built into gcl. 8 for more details about the presubmit API built into gcl.
9 """ 9 """
10 10
(...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after
578 files = change.LocalPaths() 578 files = change.LocalPaths()
579 579
580 if not files: 580 if not files:
581 return [] 581 return []
582 582
583 if all(re.search('\.(m|mm)$|(^|[/_])mac[/_.]', f) for f in files): 583 if all(re.search('\.(m|mm)$|(^|[/_])mac[/_.]', f) for f in files):
584 return ['mac_rel', 'mac_asan'] 584 return ['mac_rel', 'mac_asan']
585 if all(re.search('(^|[/_])win[/_.]', f) for f in files): 585 if all(re.search('(^|[/_])win[/_.]', f) for f in files):
586 return ['win_rel'] 586 return ['win_rel']
587 if all(re.search('(^|[/_])android[/_.]', f) for f in files): 587 if all(re.search('(^|[/_])android[/_.]', f) for f in files):
588 return ['android'] 588 return ['android_dbg']
589 589
590 trybots = ['win_rel', 'linux_rel', 'mac_rel', 'linux_clang:compile', 590 trybots = ['win_rel', 'linux_rel', 'mac_rel', 'linux_clang:compile',
591 'linux_chromeos', 'android', 'linux_asan', 'mac_asan'] 591 'linux_chromeos', 'android_dbg', 'linux_asan', 'mac_asan']
592 592
593 # Match things like path/aura/file.cc and path/file_aura.cc. 593 # Match things like path/aura/file.cc and path/file_aura.cc.
594 # Same for ash and chromeos. 594 # Same for ash and chromeos.
595 if any(re.search('[/_](ash|aura)', f) for f in files): 595 if any(re.search('[/_](ash|aura)', f) for f in files):
596 trybots += ['linux_chromeos', 'linux_chromeos_clang:compile', 'win_aura', 596 trybots += ['linux_chromeos', 'linux_chromeos_clang:compile', 'win_aura',
597 'linux_chromeos_asan'] 597 'linux_chromeos_asan']
598 else: 598 else:
599 if any(re.search('[/_]chromeos', f) for f in files): 599 if any(re.search('[/_]chromeos', f) for f in files):
600 trybots += ['linux_chromeos', 'linux_chromeos_clang:compile', 600 trybots += ['linux_chromeos', 'linux_chromeos_clang:compile',
601 'linux_chromeos_asan'] 601 'linux_chromeos_asan']
602 602
603 return trybots 603 return trybots
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698