Fix up clang-tidy after bug 1480631. r=bustage
This commit is contained in:
@@ -297,7 +297,7 @@ def get_tool(config, key):
|
|||||||
# run-clang-tidy.py
|
# run-clang-tidy.py
|
||||||
def prune_final_dir_for_clang_tidy(final_dir):
|
def prune_final_dir_for_clang_tidy(final_dir):
|
||||||
# Make sure we only have what we expect.
|
# Make sure we only have what we expect.
|
||||||
dirs = ("bin", "include", "lib", "libexec", "msbuild-bin", "share", "tools")
|
dirs = ("bin", "include", "lib", "lib32", "libexec", "msbuild-bin", "share", "tools")
|
||||||
for f in glob.glob("%s/*" % final_dir):
|
for f in glob.glob("%s/*" % final_dir):
|
||||||
if os.path.basename(f) not in dirs:
|
if os.path.basename(f) not in dirs:
|
||||||
raise Exception("Found unknown file %s in the final directory" % f)
|
raise Exception("Found unknown file %s in the final directory" % f)
|
||||||
|
|||||||
Reference in New Issue
Block a user