зеркало из https://github.com/mozilla/gecko-dev.git
0f4437d7d5
This was happening because we had two exclude paths that were run through the 'collapse' algorithm: editor/libeditor/tests/browserscope/lib/richtext editor/libeditor/tests/browserscope/lib/richtext2 The problem was that in order to determine the base directory, the algorithm called 'os.path.commonprefix'. This function just returns the common string prefix, which is the '.../lib/richtext' path. Even though in the above, the base *should* have been '.../lib'. To fix the problem, we add a check to ensure the computed base doesn't have any sibling directories with the same prefix. If there are, it means 'commonprefix' was too greedy. Differential Revision: https://phabricator.services.mozilla.com/D60173 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
devtools/migrate-l10n | ||
docs | ||
gdbpp/gdbpp | ||
l10n | ||
lldbutils | ||
mach | ||
mozboot | ||
mozbuild | ||
mozlint | ||
mozrelease | ||
mozterm | ||
mozversioncontrol | ||
safety | ||
README | ||
mach_commands.py | ||
moz.build |
README
This directory contains common Python code. The basic rule is that if Python code is cross-module (that's "module" in the Mozilla meaning - as in "module ownership") and is MPL-compatible, it should go here. What should not go here: * Vendored python modules (use third_party/python instead) * Python that is not MPL-compatible (see other-licenses/) * Python that has good reason to remain close to its "owning" (Mozilla) module (e.g. it is only being consumed from there). Historical information can be found at https://bugzilla.mozilla.org/show_bug.cgi?id=775243 https://bugzilla.mozilla.org/show_bug.cgi?id=1346025