mirror of
https://github.com/esphome/esphome.git
synced 2026-10-06 02:51:29 +00:00
Non-destructive platform_version check, honest compdb errors, missing-binutils refusal
The platform_version pop defaults to the schema spec so a second validation pass over an already-validated dict cannot warn about a key the user never set. An unparsable compile database now fails naming the parse error and the offending output instead of blaming renamed ninja rules. analyze-memory validates the native objdump/readelf exist and fails by tool name rather than silently analyzing with host binutils. The shared smoke-test helper is renamed _toolchain_components_to_test (it serves the esp32 PlatformIO job too), and the decode-dedup state is cleared by an autouse fixture instead of by hand.
This commit is contained in:
@@ -596,12 +596,12 @@ def esp32_platformio_components_to_test(branch: str | None = None) -> list[str]:
|
||||
Returns:
|
||||
Sorted list of component names to compile.
|
||||
"""
|
||||
return _native_components_to_test(
|
||||
return _toolchain_components_to_test(
|
||||
branch, ESP32_PLATFORMIO_TEST_COMPONENTS, _esp32_platformio_path_or_file_trigger
|
||||
)
|
||||
|
||||
|
||||
def _native_components_to_test(
|
||||
def _toolchain_components_to_test(
|
||||
branch: str | None,
|
||||
test_set: frozenset[str] | set[str],
|
||||
infra_trigger: Callable[[list[str]], bool],
|
||||
@@ -690,7 +690,7 @@ def esp8266_native_components_to_test(branch: str | None = None) -> list[str]:
|
||||
list on core or infrastructure changes, otherwise the intersection with
|
||||
the changed-component dependency closure (empty list skips the job).
|
||||
"""
|
||||
return _native_components_to_test(
|
||||
return _toolchain_components_to_test(
|
||||
branch, ESP8266_NATIVE_TEST_COMPONENTS, _esp8266_native_path_or_file_trigger
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user