summaryrefslogtreecommitdiffstats
path: root/PRESUBMIT.py
diff options
context:
space:
mode:
authorpetermayo@chromium.org <petermayo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-14 20:49:47 +0000
committerpetermayo@chromium.org <petermayo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-14 20:49:47 +0000
commit9d16ad1f0e96753ef831fc558577457c334c2293 (patch)
tree4c881eaa9d39b3717129316dbe7f8bd88b75a082 /PRESUBMIT.py
parent60e7ebc2e5077f2d014423f2603cabd774a6b0a6 (diff)
downloadchromium_src-9d16ad1f0e96753ef831fc558577457c334c2293.zip
chromium_src-9d16ad1f0e96753ef831fc558577457c334c2293.tar.gz
chromium_src-9d16ad1f0e96753ef831fc558577457c334c2293.tar.bz2
Add aura compile testing by default to likely areas (1).
TBR=God NOTRY=true BUG=chromium:107599 TEST=None Review URL: http://codereview.chromium.org/8818013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114490 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'PRESUBMIT.py')
-rw-r--r--PRESUBMIT.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
index aa81d30..8caa4b5 100644
--- a/PRESUBMIT.py
+++ b/PRESUBMIT.py
@@ -9,6 +9,9 @@ for more details about the presubmit API built into gcl.
"""
+import re
+
+
_EXCLUDED_PATHS = (
r"^breakpad[\\\/].*",
r"^net/tools/spdyshark/[\\\/].*",
@@ -335,4 +338,8 @@ def GetPreferredTrySlaves(project, change):
f.LocalPath().endswith(('.mm', '.m')) for f in change.AffectedFiles())
if only_objc_files:
return ['mac_rel']
- return ['win_rel', 'linux_rel', 'mac_rel']
+ preferred = ['win_rel', 'linux_rel', 'mac_rel']
+ aura_re = '_aura[^/]*[.][^/]*'
+ if any(re.search(aura_re, f.LocalPath()) for f in change.AffectedFiles()):
+ preferred.append('linux_aura:compile')
+ return preferred