On Tue, Feb 13, 2024 at 06:26:56PM +0530, Love Kumar wrote:

> Add a test for reset commands which performs resetting of CPU, It does
> COLD reset by default and WARM reset with -w option.
> 
> Signed-off-by: Love Kumar <love.ku...@amd.com>
> ---
> Changes in v2:
>  - Set bootmode through boardenv if modeboot is not defined


Still fails on sandbox:
test/py/tests/test_reset.py F

========================================== FAILURES 
===========================================
_________________________________________ test_reset 
__________________________________________
test/py/tests/test_reset.py:49: in test_reset
    setup_reset_env(u_boot_console)
test/py/tests/test_reset.py:32: in setup_reset_env
    output = u_boot_console.run_command('print modeboot')
test/py/u_boot_console_base.py:269: in run_command
    raise Exception('Bad pattern found on console: ' +
E   Exception: Bad pattern found on console: error_notification
------------------------------------ Captured stdout call 
-------------------------------------
=> print modeboot
## Error: "modeboot" not defined

Please note that
https://docs.u-boot.org/en/latest/develop/py_testing.html talks about
how to run the pytests on sandbox as well, for next time.

-- 
Tom

Attachment: signature.asc
Description: PGP signature

Reply via email to