mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-03 10:17:21 +00:00
efi_selftest: SNP unit test on sandbox
Running the simple network protocol test on the sandbox requires setting the environment variable ethact to a network interface connected to a DHCP server and ethrotate to 'no'. So let's make it an on-request test on the sandbox (selectable by setting environment variable efi_selftest). Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
452257a34a
commit
8a42641a3e
1 changed files with 8 additions and 0 deletions
|
@ -427,4 +427,12 @@ EFI_UNIT_TEST(snp) = {
|
||||||
.setup = setup,
|
.setup = setup,
|
||||||
.execute = execute,
|
.execute = execute,
|
||||||
.teardown = teardown,
|
.teardown = teardown,
|
||||||
|
#ifdef CONFIG_SANDBOX
|
||||||
|
/*
|
||||||
|
* Running this test on the sandbox requires setting environment
|
||||||
|
* variable ethact to a network interface connected to a DHCP server and
|
||||||
|
* ethrotate to 'no'.
|
||||||
|
*/
|
||||||
|
.on_request = true,
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue