Point analyze-memory at the platformio escape hatch, test the backend-table invariant instead of asserting at import, fail blank component lists under the flag, clean the arduino idedata cache

This commit is contained in:
J. Nick Koston
2026-08-23 20:53:55 -05:00
parent bae1291d73
commit 985a784f5e
6 changed files with 42 additions and 11 deletions
+7
View File
@@ -1074,6 +1074,13 @@ def test_components(
)
)
# The flag's contract is "no test matched fails": a fully blank pattern
# list would otherwise slide into the reference-baseline fallback and
# exit green while building nothing a caller asked for
if fail_on_no_tests and not any(component_patterns):
print("No components requested (blank component list)")
return 1
# Renamed or removed fixtures must shrink coverage loudly, and the
# reference-baseline fallback below must not mask an empty match. The
# check is per platform: a component whose fixture exists only for other