doc: expo: Add documentation for writing and debugging tests

Add a new section covering how to write expo tests, including test
structure, memory checking, creating test expos, testing rendering
and input, building from devicetree, and using IDs.

Also add a debugging section with sandbox command-line options useful
for expo development. Add a bit more detail for --video_frames

Co-developed-by: Claude Opus 4.5 <noreply@anthropic.com>
Signed-off-by: Simon Glass <simon.glass@canonical.com>
This commit is contained in:
Simon Glass
2025-12-07 05:45:03 -07:00
parent 632956e1ab
commit 30410f2817
3 changed files with 201 additions and 1 deletions

View File

@@ -253,7 +253,10 @@ available options. Some of these are described below:
Show console output from tests. Normally this is suppressed.
--video_frames <dir>
Write video frames to the specified directory for debugging purposes.
Write video frames to the specified directory for debugging purposes. Each
time video_compress_fb() is called, this writes a file called 'frame%d.bmp'
to the given directory where %d is the sequence number starting from 0. Note
that sandbox removes all 'frame%d.bmp' files in that directory on startup.
-V, --video_test <ms>
Enable video test mode with a delay (in milliseconds) between assertions. This