| 135b53be | 10-Sep-2017 |
Alison Chaiken <alison@peloton-tech.com> |
UPSTREAM: add pytests for 'gpt rename' and 'gpt swap'
Add unit tests for the 'gpt rename' and 'gpt swap' commands that rely on the block device created by test/py/make_test_disk.py. Add CONFIG_CMD_G
UPSTREAM: add pytests for 'gpt rename' and 'gpt swap'
Add unit tests for the 'gpt rename' and 'gpt swap' commands that rely on the block device created by test/py/make_test_disk.py. Add CONFIG_CMD_GPT_RENAME to the sandbox_defconfig. Remove the testdisk.raw test device at the end of the tests.
Change-Id: I1c5b963a1f84168d4979ad1591f68a5f2a259935 Signed-off-by: Alison Chaiken <alison@peloton-tech.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit c5772188ede914b0e67c2a58ae179039a582afe0)
show more ...
|
| 0e4e38ae | 18-Nov-2016 |
Alexander Graf <agraf@suse.de> |
travis: Add efi_loader grub2 test
We have all the building blocks now to run arbitrary efi applications in travis. The most important one out there is grub2, so let's add a simple test to verify tha
travis: Add efi_loader grub2 test
We have all the building blocks now to run arbitrary efi applications in travis. The most important one out there is grub2, so let's add a simple test to verify that grub2 still comes up.
Signed-off-by: Alexander Graf <agraf@suse.de>
show more ...
|
| 95b62b2e | 17-Nov-2016 |
Alexander Graf <agraf@suse.de> |
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.
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>
show more ...
|
| 4ca4b265 | 17-Nov-2016 |
Alexander Graf <agraf@suse.de> |
tests: Add efi_loader hello world test
Now that we have working network tests and a hello world efi application built inside our tree, we can automatically test that efi binary running inside of U-B
tests: Add efi_loader hello world test
Now that we have working network tests and a hello world efi application built inside our tree, we can automatically test that efi binary running inside of U-Boot.
Signed-off-by: Alexander Graf <agraf@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
show more ...
|
| f6d34651 | 31-Jul-2016 |
Simon Glass <sjg@chromium.org> |
test: Adjust run_command_list() to return a list of strings
Return one string for each command that was executed. This seems cleaner.
Suggested-by: Teddy Reed <teddy.reed@gmail.com> Signed-off-by:
test: Adjust run_command_list() to return a list of strings
Return one string for each command that was executed. This seems cleaner.
Suggested-by: Teddy Reed <teddy.reed@gmail.com> Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Stephen Warren <swarren@nvidia.com>
show more ...
|
| 27c087d5 | 31-Jul-2016 |
Simon Glass <sjg@chromium.org> |
test: Add a function to restart U-Boot
Add a proper function for this rather than using internal functions. Use it in the single call site.
Also, do a restart at the end of the vboot test to reset
test: Add a function to restart U-Boot
Add a proper function for this rather than using internal functions. Use it in the single call site.
Also, do a restart at the end of the vboot test to reset to the normal device tree.
Signed-off-by: Simon Glass <sjg@chromium.org> Suggested-by: Stephen Warren <swarren@nvidia.com>
show more ...
|
| 851271a7 | 31-Jul-2016 |
Simon Glass <sjg@chromium.org> |
test: vboot: Put each test variant in its own section
Use 'cons.log.section' feature to split up the test output. This makes it easier to read.
Suggested-by: Stephen Warren <swarren@nvidia.com>
Si
test: vboot: Put each test variant in its own section
Use 'cons.log.section' feature to split up the test output. This makes it easier to read.
Suggested-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| ac9a23cf | 31-Jul-2016 |
Simon Glass <sjg@chromium.org> |
test: Rename sha to sha_algo and pass it around
Rename this argument and pass it to each function that needs it, instead of making it global.
Suggested-by: Stephen Warren <swarren@nvidia.com> Sugge
test: Rename sha to sha_algo and pass it around
Rename this argument and pass it to each function that needs it, instead of making it global.
Suggested-by: Stephen Warren <swarren@nvidia.com> Suggested-by: Teddy Reed <teddy.reed@gmail.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| ec70f8a9 | 31-Jul-2016 |
Simon Glass <sjg@chromium.org> |
test: Drop the cmd() function
Instead of this, use the existing run_and_log() function, enhanced to support a command string as well as a list of arguments.
Suggested-by: Stephen Warren <swarren@nv
test: Drop the cmd() function
Instead of this, use the existing run_and_log() function, enhanced to support a command string as well as a list of arguments.
Suggested-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|