lib: uuid: alignment error in gen_rand_uuid()
[oweals/u-boot.git] / test / py / tests / test_efi_selftest.py
index bc226a8e6376a07c4c35850ea1ee78e6511cd1db..d5430f9c127525919c4ea3a2768ccc4cdee35f7e 100644 (file)
@@ -15,18 +15,15 @@ def test_efi_selftest(u_boot_console):
        This function executes all selftests that are not marked as on request.
        """
        u_boot_console.run_command(cmd='setenv efi_selftest')
-       u_boot_console.run_command(cmd='bootefi selftest ${fdtcontroladdr}', wait_for_prompt=False)
+       u_boot_console.run_command(cmd='bootefi selftest', wait_for_prompt=False)
        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')
 @pytest.mark.buildconfigspec('of_control')
+@pytest.mark.notbuildconfigspec('generate_acpi_table')
 def test_efi_selftest_device_tree(u_boot_console):
        u_boot_console.run_command(cmd='setenv efi_selftest list')
        output = u_boot_console.run_command('bootefi selftest')
@@ -36,7 +33,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')