]> git.dujemihanovic.xyz Git - u-boot.git/commit
test: Allow connecting to a running board
authorSimon Glass <sjg@chromium.org>
Tue, 12 Nov 2024 14:13:17 +0000 (07:13 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 13 Nov 2024 18:01:35 +0000 (12:01 -0600)
commit6f3583074fc05e16ca8a0244aa7bf6e634e7d6df
treeabaf86a44d2945d2c2488199c97ebcde54a1ab69
parent530c694c450e5b98c50ea5b1201df474bc952ca9
test: Allow connecting to a running board

Sometimes we know that the board is already running the right software,
so provide an option to allow running of tests directly, without first
resetting the board.

This saves time when re-running a test where only the Python code is
changing.

Note that this feature is open to errors, since the user must know that
the board is in a fit state to execute tests. It is useful for repeated
iteration on a particular test, where it can save quite a bit of time.

Signed-off-by: Simon Glass <sjg@chromium.org>
test/py/conftest.py
test/py/u_boot_console_base.py
test/py/u_boot_console_exec_attach.py