Fix up clang-tidy after bug 1480631. r=bustage

This commit is contained in:
Mike Hommey 2018-08-09 06:36:11 +09:00
parent 6fe1432f2e
commit 7be4cc3526

View File

@ -297,7 +297,7 @@ 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", "lib32", "libexec", "msbuild-bin", "share", "tools")
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)