mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 14:52:16 +00:00
Bug 1451104 - follow-up - quiet clang-tidy content checking; r=me
This commit is contained in:
parent
c5a7b6643f
commit
31da9ce5d8
@ -289,7 +289,8 @@ def get_tool(config, key):
|
||||
# run-clang-tidy.py
|
||||
def prune_final_dir_for_clang_tidy(final_dir):
|
||||
# Make sure we only have what we expect.
|
||||
dirs = ("bin", "include", "lib", "libexec", "msbuild-bin", "share", "tools")
|
||||
dirs = ("bin", "include", "lib", "libexec", "msbuild-bin", "share", "tools",
|
||||
"x86_64-unknown-linux-gnu")
|
||||
for f in glob.glob("%s/*" % final_dir):
|
||||
if os.path.basename(f) not in dirs:
|
||||
raise Exception("Found unknown file %s in the final directory" % f)
|
||||
|
Loading…
Reference in New Issue
Block a user