mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
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 |
||
---|---|---|
.. | ||
mozlint | ||
test | ||
setup.py |