sandbox: Add -V flag for video test delay

Add a new -V flag to sandbox which accepts a delay in milliseconds. This
causes video tests to pause after each assertion, allowing the display
output to be visually inspected.

This is useful for debugging video tests and understanding what is being
drawn at each step.

Co-developed-by: Claude <noreply@anthropic.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2025-10-02 03:57:11 -06:00
parent a24894ba19
commit 12572f5a00
4 changed files with 20 additions and 2 deletions

View File

@@ -252,6 +252,10 @@ available options. Some of these are described below:
-v, --verbose
Show console output from tests. Normally this is suppressed.
-V, --video_test <ms>
Enable video test mode with a delay (in milliseconds) between assertions. This
allows time to examine the display during testing.
-w, --write
Write driver state to state file on exit. In conjunction with `-r`, this allows
sandbox to save and restore emulated hardware state (such as a TPM) across