зеркало из 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 |
||
---|---|---|
.. | ||
files | ||
filter | ||
linters | ||
__init__.py | ||
conftest.py | ||
python.ini | ||
runcli.py | ||
test_cli.py | ||
test_editor.py | ||
test_formatters.py | ||
test_parser.py | ||
test_pathutils.py | ||
test_result.py | ||
test_roller.py | ||
test_types.py |