Commit beaca8cf authored by Tamer Tas's avatar Tamer Tas Committed by Commit Bot

[presubmit] use the correct path for third party libraries

This CL ensures that presubmit script checks Torque files in third_party
dependencies.

R=szuend@chromium.org
TBR=machenbach@chromium.org,sergiyb@chromium.org
CC=​yangguo@chromium.org

No-Try: true
Change-Id: I9e2b193defbebe7ae85cfc5d14ce50c2ac367e9b
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1513674Reviewed-by: 's avatarTamer Tas <tmrts@chromium.org>
Reviewed-by: 's avatarSimon Zünd <szuend@chromium.org>
Commit-Queue: Tamer Tas <tmrts@chromium.org>
Cr-Commit-Position: refs/heads/master@{#60152}
parent e416f4da
...@@ -366,7 +366,7 @@ class TorqueLintProcessor(CacheableSourceFileProcessor): ...@@ -366,7 +366,7 @@ class TorqueLintProcessor(CacheableSourceFileProcessor):
return name.endswith('.tq') return name.endswith('.tq')
def GetPathsToSearch(self): def GetPathsToSearch(self):
dirs = ['third-party', 'src'] dirs = ['third_party', 'src']
test_dirs = ['torque'] test_dirs = ['torque']
return dirs + [join('test', dir) for dir in test_dirs] return dirs + [join('test', dir) for dir in test_dirs]
......
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