esp-idf/tools/test_idf_py
Frantisek Hrbata 00d77e7a75 fix(hints): properly identify source component
If there is a component(child) within a component(parent), like for test_apps, the parent
component may be wrongly identified as source component for the failed include. This may
lead to a false bug report if the parent component has component, which provides the missing
header, in requirements.

Fix this by looking for the longest matching source component directory.

Suggested-by: Ivan Grokhotkov <ivan@espressif.com>
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-09-27 12:50:25 +02:00
..
extra_path idf.py: Change copyright in tools dir 2022-05-24 14:01:50 +02:00
file_args_expansion_inputs feat(tools): idf.py adding arguments from file via @filename.txt 2023-07-25 10:29:09 +02:00
test_idf_extensions/test_ext idf.py: Change copyright in tools dir 2022-05-24 14:01:50 +02:00
error_output.yml hints: add a more complete description for component not found errors 2022-12-06 10:54:44 +08:00
idf_ext.py idf.py: Change copyright in tools dir 2022-05-24 14:01:50 +02:00
idf_py_help_schema.json Tools: Export selected target actions 2022-07-19 20:02:55 +02:00
test_hints.py fix(hints): properly identify source component 2023-09-27 12:50:25 +02:00
test_idf_py.py feat(tools): idf.py adding arguments from file via @filename.txt 2023-07-25 10:29:09 +02:00