Commit 4e49a8cb authored by cduvall@chromium.org's avatar cduvall@chromium.org

Extensions Docs Server: Fix PRESUBMIT.py

Those darn .svn folders got me again.

TBR=kalman@chromium.org
BUG=142529


Review URL: https://chromiumcodereview.appspot.com/10832298

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151537 0039d316-1c4b-4281-b951-d872f2087c98
parent dfe96602
...@@ -16,8 +16,7 @@ import build_server ...@@ -16,8 +16,7 @@ import build_server
build_server.main() build_server.main()
sys.path.pop(0) sys.path.pop(0)
# TODO(kalman): Include integration_test.py again. WHITELIST = [ r'.+_test.py$' ]
WHITELIST = [ r'^[^i].+_test.py$' ]
def CheckChangeOnUpload(input_api, output_api): def CheckChangeOnUpload(input_api, output_api):
return input_api.canned_checks.RunUnitTestsInDirectory( return input_api.canned_checks.RunUnitTestsInDirectory(
......
...@@ -37,6 +37,8 @@ class FakeSubversionServer(object): ...@@ -37,6 +37,8 @@ class FakeSubversionServer(object):
if os.path.isdir(path): if os.path.isdir(path):
html = ['<html>Revision 000000'] html = ['<html>Revision 000000']
for f in os.listdir(path): for f in os.listdir(path):
if f.startswith('.'):
continue
if os.path.isdir(os.path.join(path, f)): if os.path.isdir(os.path.join(path, f)):
html.append('<a>' + f + '/</a>') html.append('<a>' + f + '/</a>')
else: else:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment