X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fefi_selftest.h;h=d0a76d70cae44996a13e60580a15c8bce4dccc72;hb=c038fd0ea644c09191bc18cfb4736d6488580615;hp=08dd8e43ad1c1ec4f829257f68914cef2c294df5;hpb=fb4413295c765aa8c013650984dc2d908964c81d;p=oweals%2Fu-boot.git diff --git a/include/efi_selftest.h b/include/efi_selftest.h index 08dd8e43ad..d0a76d70ca 100644 --- a/include/efi_selftest.h +++ b/include/efi_selftest.h @@ -1,9 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * EFI application loader * * Copyright (c) 2017 Heinrich Schuchardt - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef _EFI_SELFTEST_H @@ -114,6 +113,7 @@ u16 efi_st_get_key(void); * @setup: set up the unit test * @teardown: tear down the unit test * @execute: execute the unit test + * @setup_ok: setup was successful (set at runtime) * @on_request: test is only executed on request */ struct efi_unit_test { @@ -123,6 +123,7 @@ struct efi_unit_test { const struct efi_system_table *systable); int (*execute)(void); int (*teardown)(void); + int setup_ok; bool on_request; };