From 2292bf700d28ade39cf2d64b45509e6db21034bc Mon Sep 17 00:00:00 2001 From: cirakg Date: Sun, 18 Oct 2026 21:10:37 +0200 Subject: test(tools): add screenshot, budget and product checks; enforce file headers - sim_screenshot.py finds the device drawing in the simulator window, crops the screen and compares it with approved golden images. - check_budgets.py reads key=value DIAG/HARNESS lines (the simulator console escapes quotes, so JSON was dropped). - ciq_test_report.py accepts SDK 9.2.0's real summary line `PASSED (passed=N, failed=N, errors=N)`; a captured log is a fixture. - gen_products.py checks all manifest products are watches with API 5.0+ and at least 512 KB for apps. - lint_project.py rule HDR001: every file carries the Author/Summary header (JSON keys, PNG text chunks; generated package-lock exempt). - make_icon.py --all draws one icon per launcher size in use. - Golden screenshots for fr255s, venusq2, fr70 and fr965. - 44 tests, warnings as errors, ruff and mypy --strict clean. Co-Authored-By: Claude Opus 5.5 --- tools/tests/data/runnoevil_pass.log | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 tools/tests/data/runnoevil_pass.log (limited to 'tools/tests/data') diff --git a/tools/tests/data/runnoevil_pass.log b/tools/tests/data/runnoevil_pass.log new file mode 100644 index 0000000..82c3cf0 --- /dev/null +++ b/tools/tests/data/runnoevil_pass.log @@ -0,0 +1,14 @@ +# Author: cirakg & claude ai +# Summary: Real Run No Evil console output (SDK 9.2.0, fr255s, headless simulator), used as a parser fixture. +------------------------------------------------------------------------------ +Executing test smokeVersionIsSemver... +DEBUG (18:41): version 0.1.0 +PASS + +============================================================================== +RESULTS +Test: Status: +smokeVersionIsSemver PASS +Ran 1 test + +PASSED (passed=1, failed=0, errors=0) -- cgit v1.2.3