Files
esphome/tests/unit_tests
David Woodhouse 841d9664d3 Fix build system to relink when source files change
- Make copy_file_if_changed() return bool indicating if file was copied
- Track sources_changed in copy_src_tree() to detect when source files change
- Only update build_info timestamp when sources/config/version change
- Exclude generated files (build_info_data.h) from sources_changed tracking
- Add build_info_data.h to ignore_targets to prevent copying from resources
- Track changes to generated headers (defines.h, esphome.h, version.h)
- Check for config_hash or version changes to trigger rebuild
- Pretty-print build_info.json with indentation and trailing newline
- Update mock_copy_file_if_changed to return True by default

This fixes the issue where changing a source file would recompile the .o
file but not relink the final program executable.
2025-12-14 08:51:59 +09:00
..
2025-09-19 12:59:48 +00:00
2025-12-13 09:45:17 -06:00
2022-10-05 20:09:27 +13:00
2025-12-13 09:21:53 -06:00
2025-09-19 12:59:48 +00:00
2025-09-19 12:59:48 +00:00
2025-09-19 12:59:48 +00:00
2025-12-13 10:02:54 -06:00