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.
Signed-off-by: Mikko Rapeli <[email protected]> --- meta/lib/oeqa/selftest/cases/wic.py | 4 ++++ 1 file changed, 4 insertions(+) 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): self.assertEqual(1, len(out)) def test_rawcopy_plugin(self): + config = 'IMAGE_FSTYPES = "ext4"\n' + self.append_config(config) + self.assertEqual(0, bitbake('core-image-minimal').status) + self.remove_config(config) self._rawcopy_plugin('ext4') def test_rawcopy_plugin_unpack(self): -- 2.34.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#206210): https://lists.openembedded.org/g/openembedded-core/message/206210 Mute This Topic: https://lists.openembedded.org/mt/109169017/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
