整理 App 与 test 目录:按职责分子目录并同步全库引用

This commit is contained in:
2026-09-26 12:51:07 +08:00
parent 39bd06adea
commit 22559365b9
90 changed files with 2650 additions and 2487 deletions
+2 -2
View File
@@ -34,13 +34,13 @@ Interpretation (per AGENTS.md): exit code 0 = PASS (0 errors, 0 warnings). 1/2+
### Step 2 — Flash + capture boot log (one orchestrated call)
Use `test/run_boot_test.py` (pure-stdlib Python, 2026-09-20 起替代 PowerShell 版) which opens the port + clears the log (arming),
Use `test/host/run_boot_test.py` (pure-stdlib Python, 2026-09-20 起替代 PowerShell 版) which opens the port + clears the log (arming),
flashes, waits for RX silence, extracts the boot log and verifies — all in one
call. The serial daemon buffers the full stream in `tools/serial_tool/state/serial.log`,
so nothing can be lost between steps:
```powershell
& '.venv\Scripts\python.exe' test/run_boot_test.py `
& '.venv\Scripts\python.exe' test/host/run_boot_test.py `
--settle-ms 8000 --max-wait-ms 30000 `
--flash-cmd "MDK-ARM\download.bat" `
--required "App init OK;Network Init;net init: OK" `