When the Mozilla tests are checked out of cvs in the recommended place the
authorerik.corry@gmail.com <erik.corry@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Sat, 6 Sep 2008 06:22:59 +0000 (06:22 +0000)
committererik.corry@gmail.com <erik.corry@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Sat, 6 Sep 2008 06:22:59 +0000 (06:22 +0000)
linter attempts to check them for style issues.  This is not helpful.  This
chance makes the presubmit linter skip the data directory where they are
located.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@182 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

tools/presubmit.py

index 32b78d9..27023ce 100755 (executable)
@@ -105,7 +105,7 @@ class SourceFileProcessor(object):
     return True
 
   def IgnoreDir(self, name):
-    return name.startswith('.')
+    return name.startswith('.') or name == 'data'
 
   def IgnoreFile(self, name):
     return name.startswith('.')