Revision: 18006
Author:   [email protected]
Date:     Fri Nov 22 12:21:43 2013 UTC
Log: Exclude benchmark tests from presubmit check in a non-git checkout.

[email protected]

Review URL: https://codereview.chromium.org/83353002
http://code.google.com/p/v8/source/detail?r=18006

Modified:
 /branches/bleeding_edge/tools/presubmit.py

=======================================
--- /branches/bleeding_edge/tools/presubmit.py  Fri Oct 25 11:55:56 2013 UTC
+++ /branches/bleeding_edge/tools/presubmit.py  Fri Nov 22 12:21:43 2013 UTC
@@ -191,7 +191,8 @@
     return True

   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):
     return name.startswith('.')
@@ -312,12 +313,8 @@
     return ['.']

   def IgnoreDir(self, name):
-    return (super(SourceProcessor, self).IgnoreDir(name)
-              or (name == 'third_party')
-              or (name == 'gyp')
-              or (name == 'out')
-              or (name == 'obj')
-              or (name == 'DerivedSources'))
+    return (super(SourceProcessor, self).IgnoreDir(name) or
+            name in ('third_party', 'gyp', 'out', 'obj', 'DerivedSources'))

   IGNORE_COPYRIGHTS = ['cpplint.py',
                        'daemon.py',

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to