3 Commits

Author SHA1 Message Date
Simon Glass
e2d8843922 test/py: Allow setting the cwd with run_and_log()
Sometimes it is useful to run a command in a particular subdirectory.
Add support for this to the run_and_log() functions.

Signed-off-by: Simon Glass <sjg@chromium.org>
2025-09-08 12:16:38 -06:00
Simon Glass
6f664d8445 test/py: Provide a run_and_log() function that uses log
The normal function requires a ubman but only uses it to find the log
fixture. This is a pain since the ubman is a function-level fixture.

Provide a version that takes a log directory, so that it can be called
from a session fixture.

Signed-off-by: Simon Glass <sjg@chromium.org>
2025-08-17 06:02:16 -06:00
Simon Glass
d428226459 test/py: Drop u_boot_ prefix on test files
We know this is U-Boot so the prefix serves no purpose other than to
make things longer and harder to read. Drop it and rename the files.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com> # test_android / test_dfu
2025-02-16 17:30:53 -07:00