mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-12 00:50:40 +00:00
e36de7239c
When using globs in exclude directorives, FileFinder will return every *file* that gets matched. This is can be thousands of files in the case of an objdir. While we now collapse these files down to highest possible directories, this collapse operation can still take a noticeable amount of time (0.6s). This simply scans topsrcdir for files that start with 'obj' to avoid the glob. This also moves the '_activate_virtualenv' call to the top of the function because in CI, this will cause an objdir to be created (to store the virtualenv). If this happens *after* calculating the global excludes, we won't catch it since it doesn't exist yet. This will result in the objdir's virtualenv being linted and erroneous failures. Depends on D7739 Differential Revision: https://phabricator.services.mozilla.com/D7740 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
bloatview | ||
clang-tidy | ||
code-coverage | ||
compare-locales | ||
coverity | ||
docs | ||
fuzzing | ||
infer | ||
jprof | ||
leak-gauge | ||
lint | ||
power | ||
profiler | ||
quitter | ||
rb | ||
rewriting | ||
tryselect | ||
update-packaging | ||
mach_commands.py | ||
moz.build |