From 983142dff8fdccfc6a063b2ffe9af14d432f6634 Mon Sep 17 00:00:00 2001 From: Heinrich Schuchardt Date: Fri, 5 Jul 2019 17:43:13 +0200 Subject: test/py: error message test_efi_selftest_device_tree Correct the error message in test_efi_selftest_device_tree(). Signed-off-by: Heinrich Schuchardt --- test/py/tests/test_efi_selftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/py/tests/test_efi_selftest.py b/test/py/tests/test_efi_selftest.py index 07e4db0..516e41c 100644 --- a/test/py/tests/test_efi_selftest.py +++ b/test/py/tests/test_efi_selftest.py @@ -37,7 +37,7 @@ def test_efi_selftest_device_tree(u_boot_console): u_boot_console.run_command(cmd='bootefi selftest ${fdtcontroladdr}', wait_for_prompt=False) m = u_boot_console.p.expect(['serial-number: Testing DT', 'U-Boot']) if m != 0: - raise Exception('Reset failed in \'device tree\' test') + raise Exception('serial-number missing in device tree') u_boot_console.restart_uboot(); @pytest.mark.buildconfigspec('cmd_bootefi_selftest') -- cgit v1.1 From 0b1da53e534a89afc2f5ddcbe2bdbde83cf37523 Mon Sep 17 00:00:00 2001 From: Heinrich Schuchardt Date: Fri, 5 Jul 2019 18:16:51 +0200 Subject: test/py: not all boards support UEFI runtime reset As not all boards support resets at runtime do not test for it in the Python tests. Signed-off-by: Heinrich Schuchardt --- test/py/tests/test_efi_selftest.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'test') diff --git a/test/py/tests/test_efi_selftest.py b/test/py/tests/test_efi_selftest.py index 516e41c..d5430f9 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') -- cgit v1.1