Exclude benchmark tests from presubmit check in a non-git checkout.
R=jkummerow@chromium.org Review URL: https://codereview.chromium.org/83353002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18006 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
7158b51125
commit
de432db19a
@ -191,7 +191,8 @@ class SourceFileProcessor(object):
|
|||||||
return True
|
return True
|
||||||
|
|
||||||
def IgnoreDir(self, name):
|
def IgnoreDir(self, name):
|
||||||
return name.startswith('.') or name == 'data' or name == 'sputniktests'
|
return (name.startswith('.') or
|
||||||
|
name in ('data', 'kraken', 'octane', 'sunspider'))
|
||||||
|
|
||||||
def IgnoreFile(self, name):
|
def IgnoreFile(self, name):
|
||||||
return name.startswith('.')
|
return name.startswith('.')
|
||||||
@ -312,12 +313,8 @@ class SourceProcessor(SourceFileProcessor):
|
|||||||
return ['.']
|
return ['.']
|
||||||
|
|
||||||
def IgnoreDir(self, name):
|
def IgnoreDir(self, name):
|
||||||
return (super(SourceProcessor, self).IgnoreDir(name)
|
return (super(SourceProcessor, self).IgnoreDir(name) or
|
||||||
or (name == 'third_party')
|
name in ('third_party', 'gyp', 'out', 'obj', 'DerivedSources'))
|
||||||
or (name == 'gyp')
|
|
||||||
or (name == 'out')
|
|
||||||
or (name == 'obj')
|
|
||||||
or (name == 'DerivedSources'))
|
|
||||||
|
|
||||||
IGNORE_COPYRIGHTS = ['cpplint.py',
|
IGNORE_COPYRIGHTS = ['cpplint.py',
|
||||||
'daemon.py',
|
'daemon.py',
|
||||||
|
Loading…
Reference in New Issue
Block a user