summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2022-11-09 19:31:33 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-11-11 13:43:40 +0000
commitd3ec3aa81f50b2f04b2763fff6925d793c9f1af5 (patch)
tree84fcc2b8e8076341c46887b654903f586987fa18 /meta/lib
parent45d9945c6aaef0ec9a17156f13d5f96a5abd3ab4 (diff)
downloadpoky-d3ec3aa81f50b2f04b2763fff6925d793c9f1af5.tar.gz
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. (From OE-Core rev: 93525809a1ecb01ae7218558c0d6c1b0344606c5) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oeqa/selftest/cases/wic.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/lib/oeqa/selftest/cases/wic.py b/meta/lib/oeqa/selftest/cases/wic.py
index 0d664d7c39..8abe6918f3 100644
--- a/meta/lib/oeqa/selftest/cases/wic.py
+++ b/meta/lib/oeqa/selftest/cases/wic.py
@@ -817,7 +817,8 @@ class Wic2(WicTestCase):
817 self.resultdir)) 817 self.resultdir))
818 self.assertEqual(1, len(glob(os.path.join(self.resultdir, "wictestdisk-*direct")))) 818 self.assertEqual(1, len(glob(os.path.join(self.resultdir, "wictestdisk-*direct"))))
819 819
820 @only_for_arch(['i586', 'i686', 'x86_64', 'aarch64']) 820 # TODO this test could also work on aarch64
821 @only_for_arch(['i586', 'i686', 'x86_64'])
821 def test_wic_image_type(self): 822 def test_wic_image_type(self):
822 """Test building wic images by bitbake""" 823 """Test building wic images by bitbake"""
823 config = 'IMAGE_FSTYPES += "wic"\nWKS_FILE = "wic-image-minimal"\n'\ 824 config = 'IMAGE_FSTYPES += "wic"\nWKS_FILE = "wic-image-minimal"\n'\
@@ -1042,7 +1043,8 @@ class Wic2(WicTestCase):
1042 size = int(size[:-3]) 1043 size = int(size[:-3])
1043 self.assertGreaterEqual(size, 204800) 1044 self.assertGreaterEqual(size, 204800)
1044 1045
1045 @only_for_arch(['i586', 'i686', 'x86_64', 'aarch64']) 1046 # TODO this test could also work on aarch64
1047 @only_for_arch(['i586', 'i686', 'x86_64'])
1046 @OETestTag("runqemu") 1048 @OETestTag("runqemu")
1047 def test_rawcopy_plugin_qemu(self): 1049 def test_rawcopy_plugin_qemu(self):
1048 """Test rawcopy plugin in qemu""" 1050 """Test rawcopy plugin in qemu"""