Hello Peter, On Thu, 22 Jun 2023 17:34:13 +0100 "Peter Hoyes" <peter.ho...@arm.com> wrote:
> From: Peter Hoyes <peter.ho...@arm.com> > > The testdata.json file generated as part of the rootfs postprocess > commands currently contains almost all Bitbake variables and is used by > OEQA test cases to inspect the build environment. However only a small > number of variables are actually used and the testdata.json is not > automatically updated when the variables are updated. > > Introduce the TESTIMAGE_EXPORT_VARS variable to explicitly define the > variables to be collected for testdata.json and populate with all > variables used by runtime tests in OE-core. Use this variable to set the > vardeps of write_image_test_data. > > Modify export2json to take an explicit list of keys to export, instead > of exporting everything in the datastore. > > Add a demonstrative OE selftest to rootfspostcommandstests. > > Signed-off-by: Peter Hoyes <peter.ho...@arm.com> This patch is triggering some failures on the autobuilders: Exception: TypeError: export2json() missing 1 required positional argument: 'json_file' Some logs: https://autobuilder.yoctoproject.org/typhoon/#/builders/20/builds/7744/steps/11/logs/stdio https://autobuilder.yoctoproject.org/typhoon/#/builders/20/builds/7744/steps/16/logs/stdio Luca -- Luca Ceresoli, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#183313): https://lists.openembedded.org/g/openembedded-core/message/183313 Mute This Topic: https://lists.openembedded.org/mt/99701497/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-