Skip to contentSkip to conversation

meta/lib/oeqa: Test for bootimg-biosplusefi Source

PATCH Superseded William Bourque 1 participant 1 message Jul 22, 2019

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

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.

---
 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
new file mode 100644
index 0000000000..5a56c84518
@@ -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