On Tue, 7 Jul 2026 at 23:15, John Ripple via lists.openembedded.org <[email protected]> wrote: > +def setUpModule(): > + global templayerdir > + templayerdir = tempfile.mkdtemp(prefix='govendorqa') > + create_temp_layer(templayerdir, 'selftestgovendor') > + runCmd('bitbake-layers add-layer %s' % templayerdir) > + > + > +def tearDownModule(): > + runCmd('bitbake-layers remove-layer %s' % templayerdir, > ignore_status=True) > + runCmd('rm -rf %s' % templayerdir)
There is no need to create a new layer, and place files into it in the test. There's meta-selftest in oe-core, and it exists exactly for this purpose. As far as I see they're all static files, and do not get modified inside the test. Alex
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#240573): https://lists.openembedded.org/g/openembedded-core/message/240573 Mute This Topic: https://lists.openembedded.org/mt/120164247/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
