meta/lib/oeqa: Test for bootimg-biosplusefi Source
PATCH v3 2/2 meta/lib/oeqa: Test for bootimg-biosplusefi Source
Add unittests for bootimg-biosplusefi SourcePlugin in wic module. First test check wic creation works correctly.
Second test uses qemu to boot image and checks that it has both EFI and BIOS files in a single partition.
Signed-off-by William Bourque <[email protected]>
--- meta-selftest/wic/test_biosplusefi_plugin.wks | 6 ++ meta/lib/oeqa/selftest/cases/wic.py | 59 +++++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 meta-selftest/wic/test_biosplusefi_plugin.wks
meta-selftest/wic/test_biosplusefi_plugin.wks new file +6 -0
@@ -0,0 +1,6 @@ +# short-description: This file is used in oe-selftest wic module to test biosplusefi plugin + +part /boot --source bootimg-biosplusefi --sourceparams="loader=grub-efi" --active --align 1024 --use-uuid +part / --source rootfs --fstype=ext4 --align 1024 --use-uuid + +bootloader --timeout=0 --append="console=ttyS0,115200n8"
meta/lib/oeqa/selftest/cases/wic.py +59 -0
65 lines not on this page · raw message
Signature · 1 line
2.17.1