diff options
author | simonhatch@chromium.org <simonhatch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-03 20:25:29 +0000 |
---|---|---|
committer | simonhatch@chromium.org <simonhatch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-03 20:25:29 +0000 |
commit | d6efc94e0ea08baea13b88dbf9ed261b5840e46c (patch) | |
tree | 1173e5ba1bacd4ad6d2c09973267840d35b30ba2 /tools/bisect-perf-regression.py | |
parent | 7b4f8ea9595f11c10fab1a9b52a1a248af8e25ea (diff) | |
download | chromium_src-d6efc94e0ea08baea13b88dbf9ed261b5840e46c.zip chromium_src-d6efc94e0ea08baea13b88dbf9ed261b5840e46c.tar.gz chromium_src-d6efc94e0ea08baea13b88dbf9ed261b5840e46c.tar.bz2 |
Ignore angle_dx11 on non-windows. Getting an error on android with that source not existing in the .DEPS.git file.
BUG=252272
Review URL: https://chromiumcodereview.appspot.com/23545024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221013 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/bisect-perf-regression.py')
-rwxr-xr-x | tools/bisect-perf-regression.py | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/tools/bisect-perf-regression.py b/tools/bisect-perf-regression.py index 716e85f..9b84653 100755 --- a/tools/bisect-perf-regression.py +++ b/tools/bisect-perf-regression.py @@ -79,7 +79,8 @@ DEPOT_DEPS_NAME = { "src" : "src/third_party/angle_dx11", "recurse" : True, "depends" : None, - "from" : 'chromium' + "from" : 'chromium', + "platform": 'nt' }, 'v8' : { "src" : "src/v8", @@ -882,6 +883,10 @@ class BisectPerformanceMetrics(object): rxp = re.compile(".git@(?P<revision>[a-fA-F0-9]+)") for d in DEPOT_NAMES: + if DEPOT_DEPS_NAME[d].has_key('platform'): + if DEPOT_DEPS_NAME[d]['platform'] != os.name: + continue + if DEPOT_DEPS_NAME[d]['recurse'] and\ DEPOT_DEPS_NAME[d]['from'] == depot: if locals['deps'].has_key(DEPOT_DEPS_NAME[d]['src']): @@ -890,8 +895,12 @@ class BisectPerformanceMetrics(object): if re_results: results[d] = re_results.group('revision') else: + print 'Couldn\'t parse revision for %s.' % d + print return None else: + print 'Couldn\'t find %s while parsing .DEPS.git.' % d + print return None elif depot == 'cros': cmd = [CROS_SDK_PATH, '--', 'portageq-%s' % self.opts.cros_board, @@ -1471,6 +1480,10 @@ class BisectPerformanceMetrics(object): """ external_depot = None for current_depot in DEPOT_NAMES: + if DEPOT_DEPS_NAME[current_depot].has_key('platform'): + if DEPOT_DEPS_NAME[current_depot]['platform'] != os.name: + continue + if not (DEPOT_DEPS_NAME[current_depot]["recurse"] and DEPOT_DEPS_NAME[current_depot]['from'] == min_revision_data['depot']): |