From: Ross Burton Date: Wed, 9 Nov 2022 19:31:33 +0000 (+0000) Subject: oeqa/selftest/wic: skip more tests on aarch64 X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~2532 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=93525809a1ecb01ae7218558c0d6c1b0344606c5;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git oeqa/selftest/wic: skip more tests on aarch64 test_rawcopy_plugin_qemu and test_wic_image_type are x86-specific currently as the .wks uses x86-specific bootloaders. This can be fixed, but that can come later. Signed-off-by: Ross Burton Signed-off-by: Alexandre Belloni --- diff --git a/meta/lib/oeqa/selftest/cases/wic.py b/meta/lib/oeqa/selftest/cases/wic.py index 0d664d7c395..8abe6918f3f 100644 --- a/meta/lib/oeqa/selftest/cases/wic.py +++ b/meta/lib/oeqa/selftest/cases/wic.py @@ -817,7 +817,8 @@ class Wic2(WicTestCase): self.resultdir)) self.assertEqual(1, len(glob(os.path.join(self.resultdir, "wictestdisk-*direct")))) - @only_for_arch(['i586', 'i686', 'x86_64', 'aarch64']) + # TODO this test could also work on aarch64 + @only_for_arch(['i586', 'i686', 'x86_64']) def test_wic_image_type(self): """Test building wic images by bitbake""" config = 'IMAGE_FSTYPES += "wic"\nWKS_FILE = "wic-image-minimal"\n'\ @@ -1042,7 +1043,8 @@ class Wic2(WicTestCase): size = int(size[:-3]) self.assertGreaterEqual(size, 204800) - @only_for_arch(['i586', 'i686', 'x86_64', 'aarch64']) + # TODO this test could also work on aarch64 + @only_for_arch(['i586', 'i686', 'x86_64']) @OETestTag("runqemu") def test_rawcopy_plugin_qemu(self): """Test rawcopy plugin in qemu"""