esp-idf/tools/test_idf_py
Frantisek Hrbata 6133810392 fix: harden input parsing in component_requirements hint module
Currently we silently ignore when the original component is not found
in a hope we can provide at least some meaningful hint. As it turned
out it's not true. Instead of providing misleading hint, just return
error. This adds several checks for situations, which should not happen,
but when they do it should be easier to identify the root cause of the
problem.

For example when hint module received malformed output with extra new
lines, e.g. caused by a bug in RunTool, it wrongly reported the original
component as source component.

This should also fix the tests on Windows.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-01-25 14:20:22 +01:00
..
extra_path idf.py: Change copyright in tools dir 2022-05-24 14:01:50 +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: harden input parsing in component_requirements hint module 2024-01-25 14:20:22 +01:00
test_idf_py.py tools: fixed elf symbols load if gdbinit specified 2022-09-21 22:39:03 +04:00