Repair stale CI fixtures for shared help and radio controls

Allow saved radio-fast metadata in the persistence harness, follow shared raw and packed CLI help, refresh reviewed help snapshots, and update HAL, build-hook and SD helper mocks without changing firmware behavior.
This commit is contained in:
mikecarper committed 2026-10-23 13:56:39 -07:00
1 parent 837847f891
commit a032d53004
15 files changed
+199 -90

No files matched your search

+6 -1
View File
@@ -161,7 +161,12 @@ int main() {
terminal = extract_braced(mesh, "void MyMesh::handleTerminalCommand(")
self.assertIn("handleLocalControlCommand(command, local_reply, sizeof(local_reply))", terminal)
help_body = extract_braced(terminal, 'else if (strcmp(command, "help") == 0)')
self.assertIn('get/set display.touch <on|off> (this boot)\\r\\n', help_body)
self.assertIn('#include "CompanionHelp.inc"', help_body)
self.assertIn('mesh::companion::writePackedCompanionHelp(output);', help_body)
help_fragments = (ROOT / 'examples/companion_radio/CompanionHelp.inc').read_text()
self.assertIn('get/set display.touch <on|off> (this boot)\\r\\n', help_fragments)
packed_help = (ROOT / 'examples/companion_radio/CompanionHelpPacked.cpp').read_text()
self.assertIn('#include "CompanionHelp.inc"', packed_help)
# No persistent preference schema or write is involved.
setter = extract_braced(local, 'if (strncmp(command, "set display.touch", 17) == 0')
self.assertNotIn("savePrefs", setter)