test/py: not all boards support UEFI runtime reset
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 5 Jul 2019 16:16:51 +0000 (18:16 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 6 Jul 2019 19:25:32 +0000 (21:25 +0200)
As not all boards support resets at runtime do not test for it in the
Python tests.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
test/py/tests/test_efi_selftest.py

index 516e41cf51fd08461e73e8e8654512d79b6667ae..d5430f9c127525919c4ea3a2768ccc4cdee35f7e 100644 (file)
@@ -19,10 +19,6 @@ def test_efi_selftest(u_boot_console):
        m = u_boot_console.p.expect(['Summary: 0 failures', 'Press any key'])
        if m != 0:
                raise Exception('Failures occurred during the EFI selftest')
-       u_boot_console.run_command(cmd='', wait_for_echo=False, wait_for_prompt=False);
-       m = u_boot_console.p.expect(['resetting', 'U-Boot'])
-       if m != 0:
-               raise Exception('Reset failed during the EFI selftest')
        u_boot_console.restart_uboot();
 
 @pytest.mark.buildconfigspec('cmd_bootefi_selftest')