[U-Boot] [PATCH v3 10/13] test/py: not all boards support UEFI runtime reset

Heinrich Schuchardt xypron.glpk at gmx.de
Sat Jul 6 19:46:31 UTC 2019


As not all boards support resets at runtime do not test for it in the
Python tests.

Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
---
v3
	new patch
---
 test/py/tests/test_efi_selftest.py | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/test/py/tests/test_efi_selftest.py b/test/py/tests/test_efi_selftest.py
index 516e41cf51..d5430f9c12 100644
--- a/test/py/tests/test_efi_selftest.py
+++ b/test/py/tests/test_efi_selftest.py
@@ -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')
--
2.20.1



More information about the U-Boot mailing list