esp-idf/tools/test_idf_py
Frantisek Hrbata a773072734 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-23 18:22:08 +01: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 refactor(freertos/task_snapshot): Deprecate task_snapshot.h 2023-10-07 18:55:47 +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
pytest.ini fix(ci): Remove unittest-xml-reporting dependency from host tests 2023-11-30 14:03:41 +01:00
test_hints.py fix: harden input parsing in component_requirements hint module 2024-01-23 18:22:08 +01:00
test_idf_py.py feat(tools): idf.py adding arguments from file via @filename.txt 2023-07-25 10:29:09 +02:00
test_idf_qemu.py feat(tools): add 'idf.py qemu' extension 2023-12-03 07:45:19 +01:00