Hi Tom, On Wed, 12 Jun 2024 at 10:02, Tom Rini <tr...@konsulko.com> wrote: > > On Tue, Jun 11, 2024 at 02:01:37PM -0600, Simon Glass wrote: > > > When a board is finished with, the lab may want to power it off, or > > perform some other function. Add a new script which is called when tests > > are complete. > > > > Signed-off-by: Simon Glass <s...@chromium.org> > > --- > > > > test/py/u_boot_console_exec_attach.py | 10 ++++++++++ > > 1 file changed, 10 insertions(+) > > Given that all of my wrapper scripts include a "turn it all on" and then > catch for "turn everything off", this sounds very handy.
Yes I ruined some batteries due to lack of this. I also added a way to tell Labgrid the end state to move to, which also manages to turn off the board, unless something goes wrong in Labgrid. Regards, Simon