]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
oeqa/selftest/lic_checksum: Cleanup changes to emptytest include
authorNathan Rossi <nathan.rossi@digi.com>
Tue, 8 Nov 2022 03:23:42 +0000 (03:23 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 9 Nov 2022 15:42:46 +0000 (15:42 +0000)
commit087df767a64b271b503d714df3df6d8b3caad1c0
tree0825c3cb22da22b353c76a3d6d526a36aaab54d1
parent51fd68954dde1af9cfd5c8b38f5e8f5e852deaaf
oeqa/selftest/lic_checksum: Cleanup changes to emptytest include

Config written to the emptytest include file is invalid after the test
has cleaned up its temporary directories resulting in the emptytest
recipe potentially having invalid content when parsed by successive
bitbake runs.

This presents the following error in tests after lic_checksum execution,
e.g. 'oe-selftest -r lic_checksum recipetool'

  ERROR: .../emptytest.bb: Unable to get checksum for emptytest SRC_URI entry tmpn_nyosnq: file could not be found

Remove the recipe include content once the bitbake runs are completed in
each lic_checksum test case.

Signed-off-by: Nathan Rossi <nathan.rossi@digi.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
meta/lib/oeqa/selftest/cases/lic_checksum.py