This is needed to not "re-write" parent's categories by categories of a nested folder,
e.g. commands/expression/completion specify "cmdline" category, however it still belongs
to parent's "expression" category.
Details
Diff Detail
- Repository
- rLLDB LLDB
Event Timeline
The idea seems fine, but I think that the implementation needs more refinement, per the inline comments...
packages/Python/lldbsuite/test/test_result.py | ||
---|---|---|
111–112 | This part is no longer true, as we continue searching after finding the first file. | |
119 | I don't think this will work on windows. I think we should stop iterating here as soon we reach the top level test folder (I don't know how to check that off-hand, but we should have that piece of information available somewhere.) That will also ensure we don't get confused by some spurious .categories file outside of the test tree. |
packages/Python/lldbsuite/test/test_result.py | ||
---|---|---|
119 | We could use the LLDB source root for this, which is already available from dotest through lldbsuite.lldb_root. |
packages/Python/lldbsuite/test/test_result.py | ||
---|---|---|
119 | sounds good. |
This part is no longer true, as we continue searching after finding the first file.