diff options
-rw-r--r-- | meta-yocto-bsp/lib/oeqa/selftest/gummiboot.py | 6 | ||||
-rw-r--r-- | meta-yocto-bsp/lib/oeqa/selftest/systemd_boot.py | 5 |
2 files changed, 10 insertions, 1 deletions
diff --git a/meta-yocto-bsp/lib/oeqa/selftest/gummiboot.py b/meta-yocto-bsp/lib/oeqa/selftest/gummiboot.py index 00aa36f60d9..ced6b15258f 100644 --- a/meta-yocto-bsp/lib/oeqa/selftest/gummiboot.py +++ b/meta-yocto-bsp/lib/oeqa/selftest/gummiboot.py @@ -9,6 +9,11 @@ import logging class Gummiboot(oeSelfTest): + def setUpLocal(self): + if self.distro == 'poky-tiny': + if get_bb_var('MACHINE') != 'qemux86': + self.skipTest('Machine %s not compatible with linux-yocto-tiny' % self.machine) + def _common_setup(self): """ Common setup for test cases: 1101, 1103 @@ -27,7 +32,6 @@ class Gummiboot(oeSelfTest): # Build a genericx86-64/efi gummiboot image bitbake('syslinux syslinux-native parted-native dosfstools-native mtools-native core-image-minimal') - @testcase(1101) def test_efi_gummiboot_images_can_be_built(self): """ diff --git a/meta-yocto-bsp/lib/oeqa/selftest/systemd_boot.py b/meta-yocto-bsp/lib/oeqa/selftest/systemd_boot.py index f7f74db7e24..0980a0e6805 100644 --- a/meta-yocto-bsp/lib/oeqa/selftest/systemd_boot.py +++ b/meta-yocto-bsp/lib/oeqa/selftest/systemd_boot.py @@ -9,6 +9,11 @@ import logging class Systemdboot(oeSelfTest): + def setUpLocal(self): + if self.distro == 'poky-tiny': + if get_bb_var('MACHINE') != 'qemux86': + self.skipTest('Machine %s not compatible with linux-yocto-tiny' % self.machine) + def _common_setup(self): """ Common setup for test cases: 1445, XXXX |