summaryrefslogtreecommitdiff
path: root/test/py
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2016-11-17 22:40:10 +0100
committerTom Rini <trini@konsulko.com>2016-11-27 09:53:39 -0500
commit95b62b2e28dbc3419f49eeae2e4fdccc862fccea (patch)
tree07df4c9929f7dbe55e2bf39de1b67813d436da1a /test/py
parent4ca4b265ad5398d96ba46a734910c0bbf3239359 (diff)
downloadu-boot-imx-95b62b2e28dbc3419f49eeae2e4fdccc862fccea.zip
u-boot-imx-95b62b2e28dbc3419f49eeae2e4fdccc862fccea.tar.gz
u-boot-imx-95b62b2e28dbc3419f49eeae2e4fdccc862fccea.tar.bz2
efi_loader: Allow to compile helloworld.efi w/o bundling it
Today we can compile a self-contained hello world efi test binary that allows us to quickly verify whether the EFI loader framwork works. We can use that binary outside of the self-contained test case though, by providing it to a to-be-tested system via tftp. This patch separates compilation of the helloworld.efi file from including it in the u-boot binary for "bootefi hello". It also modifies the efi_loader test case to enable travis to pick up the compiled file. Because we're now no longer bloating the resulting u-boot binary, we can enable compilation always, giving us good travis test coverage. Signed-off-by: Alexander Graf <agraf@suse.de> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'test/py')
-rw-r--r--test/py/tests/test_efi_loader.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/py/tests/test_efi_loader.py b/test/py/tests/test_efi_loader.py
index 1c42653..7bf0170 100644
--- a/test/py/tests/test_efi_loader.py
+++ b/test/py/tests/test_efi_loader.py
@@ -104,7 +104,7 @@ def test_efi_setup_static(u_boot_console):
global net_set_up
net_set_up = True
-@pytest.mark.buildconfigspec('cmd_bootefi_hello')
+@pytest.mark.buildconfigspec('cmd_bootefi_hello_compile')
def test_efi_helloworld_net(u_boot_console):
"""Run the helloworld.efi binary via TFTP.