Reland "[presubmit] Include test/common and test/fuzzer in cpplint"
This is a reland of 6daf3c77f1
Original change's description:
> [presubmit] Include test/common and test/fuzzer in cpplint
>
> These directories probably just did not exist when the cpplint paths
> were defined.
>
> R=machenbach@chromium.org
> CC=mstarzinger@chromium.org
>
> Change-Id: Ia6b641b3c106d86ceafb0c70b44ca241b4c80642
> Reviewed-on: https://chromium-review.googlesource.com/647807
> Reviewed-by: Michael Achenbach <machenbach@chromium.org>
> Reviewed-by: Michael Starzinger <mstarzinger@chromium.org>
> Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#47786}
Change-Id: I15cd1b508cd3c6f5cd58cd5c5129174d8ced40d0
Reviewed-on: https://chromium-review.googlesource.com/649006
Reviewed-by: Michael Starzinger <mstarzinger@chromium.org>
Reviewed-by: Michael Achenbach <machenbach@chromium.org>
Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#47796}
This commit is contained in:
parent
87668aa975
commit
311f79b6d1
@ -227,8 +227,9 @@ class CppLintProcessor(SourceFileProcessor):
|
||||
or (name in CppLintProcessor.IGNORE_LINT))
|
||||
|
||||
def GetPathsToSearch(self):
|
||||
return ['src', 'include', 'samples', join('test', 'cctest'),
|
||||
join('test', 'unittests'), join('test', 'inspector')]
|
||||
dirs = ['include', 'samples', 'src']
|
||||
test_dirs = ['cctest', 'common', 'fuzzer', 'inspector', 'unittests']
|
||||
return dirs + [join('test', dir) for dir in test_dirs]
|
||||
|
||||
def GetCpplintScript(self, prio_path):
|
||||
for path in [prio_path] + os.environ["PATH"].split(os.pathsep):
|
||||
|
Loading…
Reference in New Issue
Block a user