summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikko Rapeli <mikko.rapeli@linaro.org>2024-10-23 15:08:39 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-10-25 15:12:22 +0100
commit36f7e52567fa1f6fbc0b8607bcdb9090a0450ad0 (patch)
tree21ce6e41238d428ac9711a9b6fbd255a3f424631
parent18c123d8da59a6f8483662cb0977089d7a0736f5 (diff)
downloadpoky-36f7e52567fa1f6fbc0b8607bcdb9090a0450ad0.tar.gz
oeqa selftest wic.py: fix missing ext4 image
test_rawcopy_plugin fails if machine does not build ext4 images by default. Make the ext4 image build explicit in the test. Fixes test on genericarm64 machine which defaults to wic image only. (From OE-Core rev: 0344b9e7949ef854b09deb0874a45cde2861f55b) Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/lib/oeqa/selftest/cases/wic.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/cases/wic.py b/meta/lib/oeqa/selftest/cases/wic.py
index 9b09be75ec..972fffe6f8 100644
--- a/meta/lib/oeqa/selftest/cases/wic.py
+++ b/meta/lib/oeqa/selftest/cases/wic.py
@@ -1180,6 +1180,10 @@ class Wic2(WicTestCase):
1180 self.assertEqual(1, len(out)) 1180 self.assertEqual(1, len(out))
1181 1181
1182 def test_rawcopy_plugin(self): 1182 def test_rawcopy_plugin(self):
1183 config = 'IMAGE_FSTYPES = "ext4"\n'
1184 self.append_config(config)
1185 self.assertEqual(0, bitbake('core-image-minimal').status)
1186 self.remove_config(config)
1183 self._rawcopy_plugin('ext4') 1187 self._rawcopy_plugin('ext4')
1184 1188
1185 def test_rawcopy_plugin_unpack(self): 1189 def test_rawcopy_plugin_unpack(self):